Skip to content

Commit

Permalink
Increase TypeScript strictness
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWolla committed Feb 21, 2023
1 parent d2d3fad commit 100e3d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function attributeValueToString(
}

export class WoltlabCodeBlock extends Plugin {
#command: CodeBlockCommand;
#command!: CodeBlockCommand;
#lastView: WoltlabCodeBlockPanelView | undefined = undefined;

static get pluginName() {
Expand Down
7 changes: 2 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
{
"compilerOptions": {
"allowJs": true,
"target": "ES2022",
"module": "amd",
"outDir": "dist/",
"lib": ["DOM", "DOM.Iterable", "ES2022"],
"strictNullChecks": true,
"strict": true,
"noImplicitAny": false,
"moduleResolution": "node",
"esModuleInterop": true,
"noImplicitThis": true,
"strictBindCallApply": true,
"newLine": "lf"
}
}

0 comments on commit 100e3d4

Please sign in to comment.