This repository has been archived by the owner on Nov 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bite the bullet and commit build outputs so that they are as accessib…
…le as possible for people that may not be able to run the build in some OS or setup. An upside of this is that examples and documentation can be served out of the box without having to build them. Remove package.json 'prepare' scripts because they are no longer needed, as installing from git will already include build outputs.
- Loading branch information
Showing
12 changed files
with
845 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
node_modules/ | ||
package-lock.json | ||
dist/ | ||
.vscode/ | ||
*.log |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
export interface VariableGetter<T> { | ||
(): T; | ||
} | ||
export interface VariableSetter<T> { | ||
(value: T): T; | ||
} | ||
export interface Variable<T = any> extends Iterable<VariableGetter<T> | VariableSetter<T>> { | ||
(value?: undefined): T; | ||
(value: T): T; | ||
(value?: T): void | T; | ||
get: VariableGetter<T>; | ||
set: VariableSetter<T>; | ||
[0]: VariableGetter<T>; | ||
[1]: VariableSetter<T>; | ||
[Symbol.iterator](): IterableIterator<VariableGetter<T> | VariableSetter<T>>; | ||
} | ||
export declare function variable<T>(value: T): [VariableGetter<T>, VariableSetter<T>] & Variable<T>; | ||
export declare type Computation = (previousValue?: unknown) => unknown; | ||
export declare type StopFunction = () => void; | ||
export declare function autorun(f: Computation): StopFunction; | ||
export declare function reactive(protoOrClassElement: any, propName?: string, _descriptor?: PropertyDescriptor): any; | ||
export declare function _trackReactiveProperty(Class: AnyClassWithReactiveProps, propName: string): void; | ||
declare type AnyClass = new (...args: any[]) => object; | ||
declare type AnyClassWithReactiveProps = (new (...args: any[]) => object) & { | ||
reactiveProperties?: string[]; | ||
__isReactive__?: true; | ||
}; | ||
export declare function reactify<T>(obj: T, props: (keyof T)[]): typeof obj; | ||
export declare function reactify<C extends AnyClass>(obj: InstanceType<C>, ctor: C): typeof obj; | ||
export declare function circular<Type>(first: VariableGetter<Type>, setFirst: (v: Type) => void, second: VariableGetter<Type>, setSecond: (v: Type) => void): StopFunction; | ||
export declare const version = "0.8.0"; | ||
export {}; | ||
//# sourceMappingURL=index.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export {}; | ||
//# sourceMappingURL=index.test.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.