Skip to content

Commit 8e1e23d

Browse files
committed
ci: type-check typescript
1 parent 40060e1 commit 8e1e23d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
},
99
// type-check sources
1010
"include": [
11-
"."
11+
"src",
12+
"typescript/test"
1213
]
1314
}

typescript/test/completions.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ test.skip('Remove Useless Function Props', () => {
106106
function fn() {}
107107
fn./*|*/
108108
`)
109-
const entryNames = languageService.getCompletionsAtPosition(entrypoint, pos, {})
110-
console.log(entryNames)
109+
console.log(getCompletionsAtPosition(pos!)?.entries)
111110
// expect(entryNames).not.includes('bind')
112111
})

0 commit comments

Comments
 (0)