Skip to content

Commit aab9f35

Browse files
committed
fix dtslint, hopefully
1 parent 932e657 commit aab9f35

File tree

20 files changed

+32
-15
lines changed

20 files changed

+32
-15
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default true as boolean

packages/cache/types/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"typeRoots": ["../"],
1212
"types": [],
1313
"paths": {
14-
"#is-browser": ["./src/conditions/true.ts"],
15-
"#is-development": ["./src/conditions/true.ts"]
14+
"#is-browser": ["./types/resolved-condition.ts"],
15+
"#is-development": ["./types/resolved-condition.ts"]
1616
}
1717
},
1818
"include": ["./*.ts", "./*.tsx"]

packages/css/src/conditions/false.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default false
1+
export default false as boolean

packages/css/src/conditions/true.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default true
1+
export default true as boolean

packages/css/types/tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"typeRoots": ["../"],
1212
"types": [],
1313
"paths": {
14+
"#is-browser": ["./src/conditions/true.ts"],
1415
"#is-development": ["./src/conditions/true.ts"]
1516
}
1617
},
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default true as boolean

packages/native/types/tsconfig.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
"target": "es5",
1111
"typeRoots": ["../"],
1212
"types": [],
13-
"skipLibCheck": true
13+
"skipLibCheck": true,
14+
"paths": {
15+
"#is-browser": ["./types/resolved-condition.ts"],
16+
"#is-development": ["./types/resolved-condition.ts"]
17+
}
1418
},
1519
"include": ["./*.ts", "./*.tsx"]
1620
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export default true as boolean

packages/react/types/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"typeRoots": ["../"],
1212
"types": [],
1313
"paths": {
14-
"#is-browser": ["./src/conditions/true.ts"],
15-
"#is-development": ["./src/conditions/true.ts"]
14+
"#is-browser": ["./types/resolved-condition.ts"],
15+
"#is-development": ["./types/resolved-condition.ts"]
1616
}
1717
},
1818
"include": ["./*.ts", "./*.tsx"],
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default false
1+
export default false as boolean

0 commit comments

Comments
 (0)