From 92e83e2bf2ce2067695dcce836f14cf50e9230ba Mon Sep 17 00:00:00 2001 From: Kael Zhang Date: Sun, 19 Dec 2021 11:16:58 +0800 Subject: [PATCH] #70: test: improve ts cases --- test/ts/simple.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/ts/simple.ts b/test/ts/simple.ts index 8eeafec..f419375 100644 --- a/test/ts/simple.ts +++ b/test/ts/simple.ts @@ -52,3 +52,7 @@ const { equal(ignored, false, 'not ignored') equal(unignored, false, 'not unignored') + +// Readyonly array +const readonlyPaths = ['a', 'a/b', 'foo/bar'] as const +ig.filter(readonlyPaths)