EITS-web/node_modules/eslint-plugin-svelte/lib/rules/indent-helpers/ast.d.ts
2025-12-06 09:54:52 -05:00

13 lines
486 B
TypeScript

import type { AST } from 'svelte-eslint-parser';
import type { TSESTree } from '@typescript-eslint/types';
type AnyToken = AST.Token | AST.Comment;
/**
* Check whether the given token is a whitespace.
*/
export declare function isWhitespace(token: AnyToken | TSESTree.Comment | null | undefined): boolean;
/**
* Check whether the given token is a not whitespace.
*/
export declare function isNotWhitespace(token: AnyToken | TSESTree.Comment | null | undefined): boolean;
export {};