animations icon indicating copy to clipboard operation
animations copied to clipboard

Missing typescript declarations

Open rectalogic opened this issue 1 year ago • 0 comments

import * as animations from '@shoelace-style/animations'; is missing all the animation declarations in typescript.

e.g. anim.ts:

import * as animations from '@shoelace-style/animations';

console.log(animations.flip);

Fails to compile:

$ tsc anim.ts
anim.ts:3:24 - error TS2339: Property 'flip' does not exist on type 'typeof import("@shoelace-style/animations")'.

3 console.log(animations.flip);
                         ~~~~


Found 1 error in anim.ts:3

rectalogic avatar Jun 27 '24 20:06 rectalogic