@ryusei/code
Version:
<div align="center"> <a href="https://code.ryuseijs.com"> <img alt="RyuseiCode" src="https://code.ryuseijs.com/images/svg/logo.svg" width="70"> </a>
27 lines (22 loc) • 599 B
TypeScript
declare module '@ryusei/code' {
import { BracketMatching } from './BracketMatching';
interface Options {
/**
* Options for the BracketMatching component.
*/
bracketMatching?: boolean | BracketMatchingOptions,
}
export interface BracketMatchingOptions {
/**
* Paris of brackets, such as [ [ '(', '{' ], [ ')', '}' ] ],
*/
brackets?: [ string[], string[] ];
/**
* Limits the number of lines to match brackets.
*/
maxScanLines?: number,
}
interface Extensions {
BracketMatching: BracketMatching;
}
}