Skip to content

Commit 860b9e7

Browse files
committed
npm run standard:ts --fix
1 parent 7c4188a commit 860b9e7

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/imitate/overwrite-children/gather-props.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import isFakeable from './is-fakeable'
22
import isNativePrototype from './is-native-prototype'
33

4-
export type PropertyDescriptors<T> = {
4+
export type PropertyDescriptors < T > = {
55
[P in keyof T]: PropertyDescriptor
66
}
77

8-
export default function gatherProps <T>(thing: T): PropertyDescriptors<T> {
8+
export default function gatherProps <T> (thing: T): PropertyDescriptors<T> {
99
const props = {} as PropertyDescriptors<T>
1010
while (isFakeable(thing) && !isNativePrototype(thing)) {
1111
Object.getOwnPropertyNames(thing).forEach((propName) => {

src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ export { default as config } from './config'
1414
export { default as callback } from './callback'
1515
export { default as version } from './version'
1616
export { quibble }
17-

src/matchers/builtin/captor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export default () => {
1717
captor.values = captor.values || []
1818
captor.values.push(actual)
1919
captor.value = actual
20-
},
20+
}
2121
}),
2222
values: [],
23-
value: undefined,
23+
value: undefined
2424
}
2525
return captor
2626
}

0 commit comments

Comments
 (0)