mirror of https://github.com/hyper-tuner/types.git
Fix missing exports
This commit is contained in:
parent
754da23ad1
commit
70cb679d9c
|
@ -8,6 +8,10 @@ Make sure you have registry specified in the `.npmrc` file:
|
|||
@speedy-tuner:registry=https://npm.pkg.github.com
|
||||
```
|
||||
|
||||
Authenticate to GitHub Packages:
|
||||
|
||||
[authenticating-to-github-packages](https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-to-github-packages)
|
||||
|
||||
Proceed with the installation:
|
||||
|
||||
```bash
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
export * from './types/config';
|
||||
export * from './types/state';
|
||||
export * from './types/tune';
|
12
src/tune.ts
12
src/tune.ts
|
@ -1,12 +0,0 @@
|
|||
export interface Constant {
|
||||
units?: string;
|
||||
value: string | number;
|
||||
}
|
||||
|
||||
export interface Constants {
|
||||
[name: string]: Constant;
|
||||
}
|
||||
|
||||
export interface Tune {
|
||||
constants: Constants;
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
export interface TuneConstant {
|
||||
units?: string;
|
||||
value: string | number;
|
||||
}
|
||||
|
||||
export interface TuneConstants {
|
||||
[name: string]: TuneConstant;
|
||||
}
|
||||
|
||||
export interface Tune {
|
||||
constants: TuneConstants;
|
||||
}
|
Loading…
Reference in New Issue