Skip to content

Commit

Permalink
reexport all types from index
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr committed May 30, 2019
1 parent 08d4234 commit 7794d14
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
## Development
- nothing yet

## v0.0.2

[diff](https://github.com/PruvoNet/squiss-ts/compare/v0.0.1...v0.0.2)

### Fixed

- Removed redundant source map files from published package
- Re export all typings in `index.d.ts` to prevent users from needing to import typings from internal files

## v0.0.1

First version!
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "Light Cronicle node client with full TypeScript support",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"engines": {
"node": ">=6"
},
Expand All @@ -21,8 +22,8 @@
"url": "git+https://github.com/PruvoNet/cronicle-client.git"
},
"files": [
"dist/*.d.ts",
"dist/*.js"
"/dist/!(*.spec).d.ts",
"/dist/!(*.spec).js"
],
"keywords": [
"cronicle",
Expand Down
2 changes: 0 additions & 2 deletions src/HelperTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ export type RecursivePartial<T> = {
T[P];
};

export type StringEnum<T> = Record<keyof T, string>;

export enum NumberedBoolean {
FALSE = 0,
TRUE = 1,
Expand Down
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ import {Moment} from 'moment';
import MomentNamespace = require('moment');
import {ITiming} from './DataTypes';

export * from './RequestResponseTypes';
export * from './DataTypes';
export * from './HelperTypes';
export * from './Plugins';
export * from './SchedulerError';

export interface ISchedulerOptions {
masterUrl: string;
apiKey: string;
Expand Down

0 comments on commit 7794d14

Please sign in to comment.