From: Eduardo San Martin Morote Date: Thu, 24 Jun 2021 10:41:52 +0000 (+0200) Subject: test: fix them X-Git-Tag: v2.0.0-beta.5~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d45d085d31aa724921380c105bba5266d68e042e;p=thirdparty%2Fvuejs%2Fpinia.git test: fix them --- diff --git a/__tests__/store.spec.ts b/__tests__/store.spec.ts index da089cc0..e38b42a1 100644 --- a/__tests__/store.spec.ts +++ b/__tests__/store.spec.ts @@ -114,6 +114,8 @@ describe('Store', () => { it('can replace its state', () => { const store = useStore() + // TODO: remove once plugin state achieve generics + // @ts-expect-error store.$state = { a: false, nested: { diff --git a/test-dts/customizations.test-d.ts b/test-dts/customizations.test-d.ts index 0d4407da..7e6e6155 100644 --- a/test-dts/customizations.test-d.ts +++ b/test-dts/customizations.test-d.ts @@ -8,6 +8,7 @@ declare module '../dist/pinia' { export interface PiniaCustomProperties { $actions: Array + myState: number } export interface PiniaCustomStateProperties {