Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm test
12 changes: 6 additions & 6 deletions lib/errors.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions lib/fields.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ interface FieldDefinition {
[SymbolInitialValue]: unknown;
}
export declare class FieldConstructor implements FieldDefinition {
[SymbolInitialValue]: unknown;
get get(): () => unknown;
get set(): () => never;
constructor(value: unknown);
static get SymbolInitialValue(): symbol;
[SymbolInitialValue]: unknown;
get get(): () => unknown;
get set(): () => never;
constructor(value: unknown);
static get SymbolInitialValue(): symbol;
}
export {};
38 changes: 19 additions & 19 deletions lib/fields.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
export declare const baseTarget: (proto?: object | null) => any;
export declare const SymbolTypeomaticaProxyReference: unique symbol;
export declare const BaseConstructorPrototype: {
new (): unknown;
(): void;
};
export declare class BaseClass extends BaseConstructorPrototype {
export declare class BaseClass {
constructor(_target?: object | null);
}
export { FieldConstructor } from './fields';
export declare const SymbolInitialValue: symbol;
type StrictRuntime = {
<T extends object>(...args: unknown[]): T;
<T extends object>(target: object): T;
};
export declare const Strict: StrictRuntime;
export {};
Loading