File tree 33 files changed +246
-175
lines changed
33 files changed +246
-175
lines changed Original file line number Diff line number Diff line change 213
213
"bundlesize" : " ^0.13.2" ,
214
214
"codecov" : " ^2.3.1" ,
215
215
"cssjanus" : " ^1.2.0" ,
216
- "dtslint" : " ^0.3.0 " ,
216
+ "dtslint" : " ^4.2.1 " ,
217
217
"enzyme" : " ^3.11.0" ,
218
218
"enzyme-adapter-react-16" : " ^1.15.5" ,
219
219
"enzyme-to-json" : " ^3.6.1" ,
Original file line number Diff line number Diff line change 23
23
},
24
24
"devDependencies" : {
25
25
"@emotion/hash" : " *" ,
26
- "dtslint" : " ^0.3.0"
26
+ "dtslint" : " ^4.2.1" ,
27
+ "typescript" : " ^4.5.5"
27
28
},
28
29
"publishConfig" : {
29
30
"access" : " public"
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" , " dom" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"typeRoots" : [" ../" ],
16
12
"types" : []
Original file line number Diff line number Diff line change 34
34
},
35
35
"devDependencies" : {
36
36
"@babel/core" : " ^7.13.10" ,
37
- "dtslint" : " ^0.3.0"
37
+ "dtslint" : " ^4.2.1" ,
38
+ "typescript" : " ^4.5.5"
38
39
},
39
40
"author" : " Kye Hohenberger" ,
40
41
"homepage" : " https://emotion.sh" ,
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" , " dom" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"typeRoots" : [" ../" ],
16
12
"types" : []
Original file line number Diff line number Diff line change 19
19
"test:typescript" : " dtslint types"
20
20
},
21
21
"devDependencies" : {
22
- "dtslint" : " ^0.3.0"
22
+ "dtslint" : " ^4.2.1" ,
23
+ "typescript" : " ^4.5.5"
23
24
},
24
25
"browser" : {
25
26
"./dist/emotion-hash.cjs.js" : " ./dist/emotion-hash.browser.cjs.js" ,
Original file line number Diff line number Diff line change 5
5
"lib" : [" es6" , " dom" ],
6
6
"module" : " commonjs" ,
7
7
"noEmit" : true ,
8
- "noImplicitAny" : true ,
9
- "noImplicitThis" : true ,
10
8
"strict" : true ,
11
- "strictNullChecks" : true ,
12
- "strictFunctionTypes" : true ,
13
9
"target" : " es5" ,
14
10
"typeRoots" : [" ../" ],
15
11
"types" : []
Original file line number Diff line number Diff line change 17
17
"@emotion/memoize" : " ^0.7.4"
18
18
},
19
19
"devDependencies" : {
20
- "dtslint" : " ^0.3.0"
20
+ "dtslint" : " ^4.2.1" ,
21
+ "typescript" : " ^4.5.5"
21
22
},
22
23
"files" : [
23
24
" src" ,
Original file line number Diff line number Diff line change 5
5
"lib" : [" es6" , " dom" ],
6
6
"module" : " commonjs" ,
7
7
"noEmit" : true ,
8
- "noImplicitAny" : true ,
9
- "noImplicitThis" : true ,
10
8
"strict" : true ,
11
- "strictNullChecks" : true ,
12
- "strictFunctionTypes" : true ,
13
9
"target" : " es5" ,
14
10
"typeRoots" : [" ../" ],
15
11
"types" : []
Original file line number Diff line number Diff line change 39
39
"@emotion/css" : " 11.7.1" ,
40
40
"@emotion/react" : " 11.8.1" ,
41
41
"@types/jest" : " ^27.0.3" ,
42
- "dtslint" : " ^0.3.0 " ,
42
+ "dtslint" : " ^4.2.1 " ,
43
43
"enzyme-to-json" : " ^3.6.1" ,
44
44
"preact" : " ^8.2.9" ,
45
45
"preact-render-to-json" : " ^3.6.6" ,
46
46
"pretty-format" : " ^22.4.3" ,
47
47
"react" : " 16.14.0" ,
48
- "react-dom" : " 16.14.0"
48
+ "react-dom" : " 16.14.0" ,
49
+ "typescript" : " ^4.5.5"
49
50
},
50
51
"author" : " Kye Hohenberger" ,
51
52
"homepage" : " https://emotion.sh" ,
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" , " dom" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"types" : []
16
12
},
Original file line number Diff line number Diff line change 14
14
"access" : " public"
15
15
},
16
16
"devDependencies" : {
17
- "dtslint" : " ^0.3.0"
17
+ "dtslint" : " ^4.2.1" ,
18
+ "typescript" : " ^4.5.5"
18
19
},
19
20
"files" : [
20
21
" src" ,
Original file line number Diff line number Diff line change 5
5
"lib" : [" es6" , " dom" ],
6
6
"module" : " commonjs" ,
7
7
"noEmit" : true ,
8
- "noImplicitAny" : true ,
9
- "noImplicitThis" : true ,
10
8
"strict" : true ,
11
- "strictNullChecks" : true ,
12
- "strictFunctionTypes" : true ,
13
9
"target" : " es5" ,
14
10
"typeRoots" : [" ../" ],
15
11
"types" : []
Original file line number Diff line number Diff line change 17
17
"devDependencies" : {
18
18
"@babel/core" : " ^7.13.10" ,
19
19
"@types/react-native" : " ^0.63.2" ,
20
- "dtslint" : " ^0.3.0 " ,
20
+ "dtslint" : " ^4.2.1 " ,
21
21
"react" : " 16.14.0" ,
22
- "react-native" : " ^0.63.2"
22
+ "react-native" : " ^0.63.2" ,
23
+ "typescript" : " ^4.5.5"
23
24
},
24
25
"dependencies" : {
25
26
"@emotion/primitives-core" : " ^11.0.0"
Original file line number Diff line number Diff line change @@ -23,9 +23,9 @@ declare module '@emotion/react' {
23
23
const cssObject = {
24
24
height : 100 ,
25
25
width : '100%' ,
26
- display : 'flex' ,
26
+ display : 'flex' as const ,
27
27
position : undefined
28
- } as const
28
+ }
29
29
30
30
const className = css `
31
31
${ ( true as boolean ) && '' }
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" , " dom" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"typeRoots" : [" ../" ],
16
- "types" : []
12
+ "types" : [],
13
+ "skipLibCheck" : true
17
14
},
18
15
"include" : [" ./*.ts" , " ./*.tsx" ]
19
16
}
Original file line number Diff line number Diff line change 54
54
"@emotion/server" : " 11.4.0" ,
55
55
"@emotion/styled" : " 11.8.1" ,
56
56
"@types/react" : " ^16.9.11" ,
57
- "dtslint" : " ^0.3.0 " ,
57
+ "dtslint" : " ^4.2.1 " ,
58
58
"html-tag-names" : " ^1.1.2" ,
59
59
"react" : " 16.14.0" ,
60
- "svg-tag-names" : " ^1.1.1"
60
+ "svg-tag-names" : " ^1.1.1" ,
61
+ "typescript" : " ^4.5.5"
61
62
},
62
63
"repository" : " https://github.com/emotion-js/emotion/tree/main/packages/react" ,
63
64
"publishConfig" : {
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" , " dom" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"typeRoots" : [" ../" ],
16
12
"types" : []
Original file line number Diff line number Diff line change 21
21
"csstype" : " ^3.0.2"
22
22
},
23
23
"devDependencies" : {
24
- "dtslint" : " ^0.3.0"
24
+ "dtslint" : " ^4.2.1" ,
25
+ "typescript" : " ^4.5.5"
25
26
},
26
27
"files" : [
27
28
" src" ,
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" , " dom" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"typeRoots" : [" ../" ],
16
12
"types" : []
Original file line number Diff line number Diff line change 32
32
"@emotion/css" : " 11.7.1" ,
33
33
"@emotion/css-prettifier" : " 1.0.1" ,
34
34
"@types/node" : " ^10.11.4" ,
35
- "dtslint" : " ^0.3.0"
35
+ "dtslint" : " ^4.2.1" ,
36
+ "typescript" : " ^4.5.5"
36
37
},
37
38
"author" : " Kye Hohenberger" ,
38
39
"homepage" : " https://emotion.sh" ,
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"typeRoots" : [" ../" ],
16
- "types" : []
12
+ "types" : [],
13
+ "skipLibCheck" : true
17
14
},
18
15
"include" : [" ./*.ts" , " ./*.tsx" ]
19
16
}
Original file line number Diff line number Diff line change 23
23
" types/*.d.ts"
24
24
],
25
25
"devDependencies" : {
26
- "dtslint" : " ^0.3.0"
26
+ "dtslint" : " ^4.2.1" ,
27
+ "typescript" : " ^4.5.5"
27
28
}
28
29
}
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" , " dom" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"typeRoots" : [" ../" ],
16
12
"types" : []
Original file line number Diff line number Diff line change 33
33
"devDependencies" : {
34
34
"@babel/core" : " ^7.13.10" ,
35
35
"@emotion/react" : " 11.8.1" ,
36
- "dtslint" : " ^0.3.0" ,
37
- "react" : " 16.14.0"
36
+ "dtslint" : " ^4.2.1" ,
37
+ "react" : " 16.14.0" ,
38
+ "typescript" : " ^4.5.5"
38
39
},
39
40
"publishConfig" : {
40
41
"access" : " public"
Original file line number Diff line number Diff line change 7
7
"lib" : [" es6" , " dom" ],
8
8
"module" : " commonjs" ,
9
9
"noEmit" : true ,
10
- "noImplicitAny" : true ,
11
- "noImplicitThis" : true ,
12
10
"strict" : true ,
13
- "strictNullChecks" : true ,
14
- "strictFunctionTypes" : true ,
15
11
"target" : " es5" ,
16
12
"typeRoots" : [" ../" ],
17
13
"types" : []
Original file line number Diff line number Diff line change 23
23
" types/*.d.ts"
24
24
],
25
25
"devDependencies" : {
26
- "dtslint" : " ^0.3.0"
26
+ "dtslint" : " ^4.2.1" ,
27
+ "typescript" : " ^4.5.5"
27
28
}
28
29
}
Original file line number Diff line number Diff line change 6
6
"lib" : [" es6" , " dom" ],
7
7
"module" : " commonjs" ,
8
8
"noEmit" : true ,
9
- "noImplicitAny" : true ,
10
- "noImplicitThis" : true ,
11
9
"strict" : true ,
12
- "strictNullChecks" : true ,
13
- "strictFunctionTypes" : true ,
14
10
"target" : " es5" ,
15
11
"typeRoots" : [" ../" ],
16
12
"types" : []
Original file line number Diff line number Diff line change 14
14
"access" : " public"
15
15
},
16
16
"devDependencies" : {
17
- "dtslint" : " ^0.3.0"
17
+ "dtslint" : " ^4.2.1" ,
18
+ "typescript" : " ^4.5.5"
18
19
},
19
20
"files" : [
20
21
" src" ,
Original file line number Diff line number Diff line change 5
5
"lib" : [" es6" , " dom" ],
6
6
"module" : " commonjs" ,
7
7
"noEmit" : true ,
8
- "noImplicitAny" : true ,
9
- "noImplicitThis" : true ,
10
8
"strict" : true ,
11
- "strictNullChecks" : true ,
12
- "strictFunctionTypes" : true ,
13
9
"target" : " es5" ,
14
10
"typeRoots" : [" ../" ],
15
11
"types" : []
Original file line number Diff line number Diff line change 12
12
"start" : " react-scripts start" ,
13
13
"build" : " react-scripts build" ,
14
14
"test" : " react-scripts test" ,
15
+ "test:typescript" : " exit 0" ,
15
16
"eject" : " react-scripts eject"
16
17
},
17
18
"browserslist" : {
Original file line number Diff line number Diff line change 5
5
"scripts" : {
6
6
"dev" : " next dev -p 4000" ,
7
7
"build" : " next build" ,
8
+ "test:typescript" : " exit 0" ,
8
9
"start" : " next start"
9
10
},
10
11
"dependencies" : {
You can’t perform that action at this time.
0 commit comments