diff --git a/docs/react-native/reference/Interface.NativeError.mdx b/docs/react-native/reference/Interface.NativeError.mdx index 06e6eb051..011119d81 100644 --- a/docs/react-native/reference/Interface.NativeError.mdx +++ b/docs/react-native/reference/Interface.NativeError.mdx @@ -52,7 +52,7 @@ Error message #### Defined in -node\_modules/typescript/lib/lib.es5.d.ts:1053 +node\_modules/typescript/lib/lib.es5.d.ts:1076 *** @@ -90,4 +90,4 @@ The native returned error message, different per platform #### Defined in -node\_modules/typescript/lib/lib.es5.d.ts:1055 +node\_modules/typescript/lib/lib.es5.d.ts:1078 diff --git a/tests_react_native/__tests__/validators/validateTrigger.test.ts b/tests_react_native/__tests__/validators/validateTrigger.test.ts index 0ddb93886..9930e2982 100644 --- a/tests_react_native/__tests__/validators/validateTrigger.test.ts +++ b/tests_react_native/__tests__/validators/validateTrigger.test.ts @@ -25,8 +25,8 @@ describe('Validate Trigger', () => { }); test('throws an error if trigger type is unknown', () => { - // @ts-ignore const trigger: Trigger = { + // @ts-ignore type: -1, }; @@ -88,6 +88,7 @@ describe('Validate Trigger', () => { const trigger: TimestampTrigger = { type: TriggerType.TIMESTAMP, timestamp: date.getTime(), + // @ts-ignore repeatFrequency: 3, };