Skip to content

Commit

Permalink
Merge branch 'ts-migration' into ts-migration-serialize
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Apr 19, 2022
2 parents 0cfb120 + 17fee4b commit 62719e2
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 15 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,5 @@ jobs:
- name: Install Dependencies
run: yarn

- name: ESLint
run: yarn lint:check
- name: TypeScript
run: cd packages/${{ matrix.package }} && yarn test:typescript
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,6 @@
"**/packages/**/*.ts",
"**/packages/**/*.tsx"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"prettier/prettier": [
"error",
Expand Down
2 changes: 1 addition & 1 deletion packages/hash/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from '../src'
export { default } from '..'
2 changes: 1 addition & 1 deletion packages/is-prop-valid/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// TypeScript Version: 2.1

export { default } from '../src'
export { default } from '..'
2 changes: 1 addition & 1 deletion packages/memoize/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default } from '../src'
export { default } from '..'
4 changes: 3 additions & 1 deletion packages/sheet/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TypeScript Version: 2.0

export * from '../src'
/// <reference types="node" />

export * from '..'
4 changes: 2 additions & 2 deletions packages/unitless/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let unitlessKeys = {
let unitlessKeys: Record<string, 1> = {
animationIterationCount: 1,
borderImageOutset: 1,
borderImageSlice: 1,
Expand Down Expand Up @@ -46,6 +46,6 @@ let unitlessKeys = {
strokeMiterlimit: 1,
strokeOpacity: 1,
strokeWidth: 1
} as const
}

export default unitlessKeys
4 changes: 3 additions & 1 deletion packages/utils/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// TypeScript Version: 2.2

export * from '../src'
/// <reference types="node" />

export * from '..'
2 changes: 1 addition & 1 deletion packages/weak-memoize/types/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// TypeScript Version: 2.2

export { default } from '../src'
export { default } from '..'
11 changes: 9 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,18 @@
"lib": ["es6", "dom"],
"module": "commonjs",
"noEmit": true,
"skipLibCheck": true,
"skipDefaultLibCheck": true,
"resolveJsonModule": true,
"strict": true,
"target": "es5"
"target": "es5",
"types": []
},
"include": ["packages", "scripts", "site", "test", "playgrounds"],
"exclude": ["node_modules", "packages/*/types/test/*"]
"exclude": [
"node_modules",
"packages/*/types/test/*",
"packages/*/types/test*",
"packages/native"
]
}

0 comments on commit 62719e2

Please sign in to comment.