shoelace-style / animations

Your favorite animate.css effects available as ES modules for use with the Web Animations API.
MIT License
34 stars 4 forks source link

Missing typescript declarations #2

Closed rectalogic closed 2 months ago

rectalogic commented 4 months ago

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