Website Structure

This commit is contained in:
supalerk-ar66 2026-01-13 10:46:40 +07:00
parent 62812f2090
commit 71f0676a62
22365 changed files with 4265753 additions and 791 deletions

View file

@ -0,0 +1,24 @@
import type { Rule } from "eslint";
import type * as TS from "typescript";
type TypeScript = typeof import("typescript");
export declare function getTypeScriptTools(context: Rule.RuleContext): {
tsNodeMap: ReadonlyMap<unknown, TS.Node>;
checker: TS.TypeChecker | null;
usedTS: boolean;
hasFullTypeInformation: boolean;
};
export declare function getTypeScript(): TypeScript | undefined;
export declare function isArrayLikeObject(tsType: TS.Type): boolean;
export declare function isClassOrInterface(tsType: TS.Type): tsType is TS.InterfaceType;
export declare function isObject(tsType: TS.Type): tsType is TS.ObjectType;
export declare function isReferenceObject(tsType: TS.Type): tsType is TS.TypeReference;
export declare function isUnionOrIntersection(tsType: TS.Type): tsType is TS.UnionOrIntersectionType;
export declare function isTypeParameter(tsType: TS.Type): tsType is TS.UnionOrIntersectionType;
export declare function isAny(tsType: TS.Type): boolean;
export declare function isUnknown(tsType: TS.Type): boolean;
export declare function isStringLine(tsType: TS.Type): boolean;
export declare function isNumberLike(tsType: TS.Type): boolean;
export declare function isBooleanLike(tsType: TS.Type): boolean;
export declare function isBigIntLike(tsType: TS.Type): boolean;
export declare function isNull(tsType: TS.Type): boolean;
export {};