0.0.8 • Published 10 months ago
@fluxmodels/core v0.0.8
type-safe state management
Installation
npm install @fluxmodels/core
# or
yarn add @fluxmodels/core
TypeScript configuration
To use FluxModels with TypeScript, you need to enable experimental decorators and emit decorator metadata in your tsconfig.json
file.
Add the following configurations:
{
"compilerOptions": {
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
// ... other options
}
}
These settings allow TypeScript to properly handle the decorators used in FluxModels and ensure full functionality of the library.
Documentation
For full documentation, visit fluxmodels.dev.