Files
NapCatQQ/.pnpm-store/v3/files/66/07e8fd1ce8fa96bae48494141cd20853b7cb1da1dc1ae0d8ec2a68db3360d0add14347ae9e9addf06543169d9d95d45259289949a1f5685dd06431f56bf48b
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

45 lines
1008 B
Plaintext

// Generated by dts-bundle-generator v9.5.1
import ts from 'typescript';
/**
* How a type declaration can be matched.
*/
export type TypeDeclarationSpecifier = TypeDeclarationFileSpecifier | TypeDeclarationLibSpecifier | TypeDeclarationPackageSpecifier;
/**
* Type declaration defined in a file.
*/
export type TypeDeclarationFileSpecifier = {
from: "file";
/**
* The path to look in for the type, relative to project directory.
*/
path?: string;
};
/**
* Type declaration defined in the ts lib.
*/
export type TypeDeclarationLibSpecifier = {
from: "lib";
};
/**
* Type declaration defined in a package.
*/
export type TypeDeclarationPackageSpecifier = {
from: "package";
/**
* The package to look in.
*/
package?: string;
};
/**
* Test if the type matches the given specifier.
*/
declare function typeMatchesSpecifier(program: ts.Program, specifier: Readonly<TypeDeclarationSpecifier>, type: Readonly<ts.Type>): boolean;
export {
typeMatchesSpecifier as default,
};
export {};