Skip to content

Commit 243c2f6

Browse files
oscard0mgr2m
andauthored
feat(create-script): add // @ts-check annotation to generated script file (#17)
* feat(create-script): add // @ts-check annotation to generated script file * chore(lib/create-script.js): add new line Co-authored-by: Gregor Martynus <[email protected]> Co-authored-by: Gregor Martynus <[email protected]>
1 parent cf9eb5e commit 243c2f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/create-script.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ export default async function createScript({ description, scriptOptions }) {
3333

3434
const content = [
3535
`
36+
// @ts-check
37+
3638
/**
3739
* ${description}
3840
*

0 commit comments

Comments
 (0)