@amisa/types
v0.1.9
Published
This package contains shared types of amisa's packages.
Downloads
63
Readme
@amisa/types
This package contains shared types of amisa's packages.
If you are looking for types of amisa globals, you can import them from @amisa/globals
package:
If you prefer to omit imports, a similar result can be achieved installing the @types/amisa package. Note that this is a third party library maintained at DefinitelyTyped and may not cover the latest amisa features.
Another use-case for @types/amisa
is a typed amisa config as those types are not provided by amisa out of the box:
// amisa.config.ts
import type { Config } from '@amisa/types'
const config: Config.InitialOptions = {
// some typed config
}
export default config