()
| 80 | } |
| 81 | |
| 82 | function testExpectedErrors() { |
| 83 | // @ts-expect-error - 'invalidMethod' is not a valid method |
| 84 | window.op('invalidMethod', 'test'); |
| 85 | // @ts-expect-error - track expects (name: string, properties?: TrackProperties) |
| 86 | window.op.track(123); |
| 87 | // @ts-expect-error - identify expects IdentifyPayload |
| 88 | window.op.identify('user123'); |
| 89 | } |
| 90 | |
| 91 | export {}; |