-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
I followed the install instructions for typescript, and i cannot get it to work in Typescript.
npm install marker-animate-unobtrusive
npm install @types/googlemaps --save
npm install @types/marker-animate-unobtrusive --save
importing nothing, and trying to use it:
pin = new SlidingMarker()
Error: Cannot find name 'SlidingMarker'.ts(2304) any
Trying to import different ways:
import { SlidingMarker } from 'marker-animate-unobtrusive'
Error: /node_modules/@types/marker-animate-unobtrusive/index.d.ts' is not a module.ts(2306)
import { SlidingMarker } from 'SlidingMarker'
error: Cannot find module 'SlidingMarker' or its corresponding type declarations.ts(2307)
Metadata
Metadata
Assignees
Labels
No labels