chore(deps-dev): bump typescript from 4.4.4 to 4.7.4 (#3866)
* chore(deps-dev): bump typescript from 4.4.4 to 4.7.4 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.4.4 to 4.7.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.4...v4.7.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * tsc * tsc Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Tom Moor <tom.moor@gmail.com>
This commit is contained in:
@@ -26,6 +26,7 @@ export default class ExtensionManager {
|
||||
let extension;
|
||||
|
||||
if (typeof ext === "function") {
|
||||
// @ts-expect-error We won't instantiate an abstract class
|
||||
extension = new ext(editor?.props);
|
||||
} else {
|
||||
extension = ext;
|
||||
|
||||
Reference in New Issue
Block a user