From 2db3d4d7ff4e26e414002e5411f75539b8fb60e6 Mon Sep 17 00:00:00 2001 From: Enio Date: Tue, 23 Oct 2018 20:03:52 -0300 Subject: [PATCH] added minor types on observablearray --- src/types/observablearray.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/observablearray.ts b/src/types/observablearray.ts index 68f523c6e..abd120b4e 100644 --- a/src/types/observablearray.ts +++ b/src/types/observablearray.ts @@ -39,6 +39,8 @@ export interface IObservableArray extends Array { clear(): T[] replace(newItems: T[]): T[] remove(value: T): boolean + toJS(): T[] + toJSON(): T[] } // In 3.0, change to IArrayDidChange