eslint-plugin-svelte
Version:
ESLint plugin for Svelte using AST
13 lines (12 loc) • 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 {};