## Changes Implements suggestions from https://typescript-eslint.io/blog/consistent-type-imports-and-exports-why-and-how/ and https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful, along with a couple more auto-fixable consistency rules. Of note: - Functions that return a promise are marked as async - Suggestions now appear for where to simplify boolean checks, non-nullish assertions, and optional chaining
10 lines
223 B
TypeScript
10 lines
223 B
TypeScript
declare module "*.svg";
|
|
declare module "*.webp";
|
|
declare module "*.css";
|
|
declare module "regex-colorize";
|
|
|
|
/**
|
|
* Flattens to a normal string type, but preserves string literal suggestions
|
|
*/
|
|
type AnyString = string & {};
|