Skip to content

Commit ec698e2

Browse files
fix: lint
1 parent 9ca48e0 commit ec698e2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/NodeParser/FunctionNodeParser.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ export class FunctionNodeParser implements SubNodeParser {
1818
public supportsNode(node: ts.TypeNode): boolean {
1919
return (
2020
node.kind === ts.SyntaxKind.FunctionType ||
21-
//@ts-ignore internals type bug
21+
//@ts-expect-error internals type bug
2222
node.kind === ts.SyntaxKind.FunctionExpression ||
23-
//@ts-ignore internals type bug
23+
//@ts-expect-error internals type bug
2424
node.kind === ts.SyntaxKind.ArrowFunction ||
25-
//@ts-ignore internals type bug
25+
//@ts-expect-error internals type bug
2626
node.kind === ts.SyntaxKind.FunctionDeclaration
2727
);
2828
}

test/vega-lite.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ describe("vega-lite", () => {
2424

2525
const vegaLiteSchema = JSON.parse(readFileSync(schemaFile, "utf8"));
2626

27-
expect(schema).toEqual(vegaLiteSchema);
27+
expect(schema).toStrictEqual(vegaLiteSchema);
2828
});
2929
});

0 commit comments

Comments
 (0)