Skip to content
public-library›Rules›TypeScript›Declare constants with as const, and satisfies when a type exists

Declare constants with as const, and satisfies when a type exists

Versions

A version describes what work must do to comply with the rule. Major: work that complied with the previous version could fail this one. Minor: it still complies, and this version adds guidance. Patch: it still complies, and nothing is added. How versions work