From 543901faee7ca3b6e97910d24bfc6983c3d06181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20da=20Silva?= Date: Wed, 20 Jun 2018 16:44:49 -0300 Subject: [PATCH] creating typings for random method in WordArray adding line 144 in order to resolve => property 'random' does not exist on type '{ create: (v: any) => LibWordArray; }' --- types/crypto-js/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/crypto-js/index.d.ts b/types/crypto-js/index.d.ts index 22e5c1253c..99df7ce4cb 100644 --- a/types/crypto-js/index.d.ts +++ b/types/crypto-js/index.d.ts @@ -141,6 +141,7 @@ declare namespace CryptoJS { lib: { WordArray: { create: (v: any) => LibWordArray; + random: (v: number) => string; }; }; mode: {