Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- error TS2339: Property 'random' does not exist on type 'Object'.
- error TS2339: Property 'isArray' does not exist on type 'Object'.
- error TS2339: Property 'defineProperties' does not exist on type 'Object'.
- error TS2339: Property 'defineProperty' does not exist on type 'Object'.
- interface Window {
- Array: Object,
- Object: Object,
- WeakMap: Object,
- Symbol: Object,
- Math: Object,
- }
- interface Object {
- random: Function,
- isArray: Function,
- defineProperties: Function,
- defineProperty: Function,
- create: Function,
- keys: Function,
- for: Function,
- iterator: Function,
- asyncIterator: Function,
- }
- declare var window: Window
- declare var object: Object
- index.ts(1432,43): error TS2538: Type 'Object' cannot be used as an index type.
- index.ts(1725,23): error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Object' has no compatible call signatures.
- interface Object {
- [index: string]: any
- }
- error TS2349: Cannot invoke an expression whose type lacks a call signature. Type 'Object' has no compatible call signatures.
- if (!isValidElement(element) && ObjectHasOwnProperty.call(Object(element), 'default'))
Add Comment
Please, Sign In to add comment