mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* feat(skatejs) add skatejs types - fix(skatejs): udpate tsconfig and fix imports in tests - fix(skatejs): make test pass - feat(skatejs): update to latest api's and add more tests - refactor(skatejs): remove tsx extension as skate is not using VDom at all - fix(skatejs): fix ts next strict errors - ci(skatejs): explicitly use files cause include is not allowed - refactor(skatejs): rename tests folder to test - fix(skatejs): don't use strict within tsconfig - fix(skatejs): fix lint errors - fix(skatejs): use standard dtslint rules without overrides * fix(skatejs): downgrade required TS version * refactor(skatejs): improve PropOptions interface by making it generic * ci(skatejs): mitigate failing build
29 lines
761 B
TypeScript
29 lines
761 B
TypeScript
// Type definitions for skatejs 5.0
|
|
// Project: https://github.com/skatejs/skatejs
|
|
// Definitions by: Martin Hochel <https://github.com/Hotell>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
export as namespace skate;
|
|
|
|
// Public API: mixins
|
|
export { withComponent, withLifecycle, withContext, withChildren, withUpdate, withRenderer } from './api';
|
|
|
|
// Public API: utils
|
|
export { prop, props, link, define, emit, shadow, name } from './api';
|
|
|
|
// Public types ( Unfortunately TS doesn't have Opaque Types like Flow )
|
|
export {
|
|
Constructor,
|
|
CustomElement,
|
|
ComponentProps,
|
|
PropOptions,
|
|
Renderer,
|
|
WithComponent,
|
|
WithLifecycle,
|
|
WithContext,
|
|
WithChildren,
|
|
WithUpdate,
|
|
WithRenderer
|
|
} from './types';
|