File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
imitate/overwrite-children Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11import isFakeable from './is-fakeable'
22import 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 ) => {
Original file line number Diff line number Diff line change @@ -14,4 +14,3 @@ export { default as config } from './config'
1414export { default as callback } from './callback'
1515export { default as version } from './version'
1616export { quibble }
17-
Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments