Update app and tooling
This commit is contained in:
parent
3046531bdd
commit
e620ec7349
4950 changed files with 2975120 additions and 10 deletions
35
node_modules/tsx/dist/cjs/api/index.d.mts
generated
vendored
Normal file
35
node_modules/tsx/dist/cjs/api/index.d.mts
generated
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
import { R as RequiredProperty } from '../../types-Cxp8y2TL.js';
|
||||
|
||||
type RegisterOptions = {
|
||||
namespace?: string;
|
||||
};
|
||||
type Unregister = () => void;
|
||||
type ScopedRequire = (id: string, fromFile: string | URL) => any;
|
||||
type ScopedResolve = (id: string, fromFile: string | URL, resolveOptions?: {
|
||||
paths?: string[] | undefined;
|
||||
}) => string;
|
||||
type NamespacedUnregister = Unregister & {
|
||||
require: ScopedRequire;
|
||||
resolve: ScopedResolve;
|
||||
unregister: Unregister;
|
||||
};
|
||||
type Register = {
|
||||
(options: RequiredProperty<RegisterOptions, 'namespace'>): NamespacedUnregister;
|
||||
(options?: RegisterOptions): Unregister;
|
||||
};
|
||||
declare const register: Register;
|
||||
|
||||
declare const tsxRequire: {
|
||||
(id: string, fromFile: string | URL): any;
|
||||
resolve: {
|
||||
(id: string, fromFile: string | URL, options?: {
|
||||
paths?: string[] | undefined;
|
||||
}): string;
|
||||
paths: (request: string) => string[] | null;
|
||||
};
|
||||
main: NodeJS.Module | undefined;
|
||||
extensions: NodeJS.RequireExtensions;
|
||||
cache: NodeJS.Dict<NodeJS.Module>;
|
||||
};
|
||||
|
||||
export { register, tsxRequire as require };
|
||||
Loading…
Add table
Add a link
Reference in a new issue