Skip to content

Commit 7502694

Browse files
committed
chore: add types to native tests
1 parent a01f103 commit 7502694

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

apps/nativescript-demo-ng/tsconfig.spec.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"compilerOptions": {
44
"target": "es2020",
55
"baseUrl": ".",
6+
"types": ["node", "jasmine"],
67
"outDir": "../../dist/out-tsc",
78
"paths": {
89
"~/*": ["src/*"],

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,12 @@
116116
"framework": "angular"
117117
},
118118
"lint-staged": {
119-
"**/*.{js,ts,scss,json,html}": [
120-
"prettier --write",
121-
"eslint --fix"
119+
"**/*.{scss,json}": [
120+
"prettier --write"
121+
],
122+
"**/*.{js,mjs,mts,html}": [
123+
"eslint --fix",
124+
"prettier --write"
122125
]
123126
}
124127
}

0 commit comments

Comments
 (0)