* Bump @typescript-eslint/typescript-estree from 2.11.0 to 2.16.0 Bumps [@typescript-eslint/typescript-estree](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-estree) from 2.11.0 to 2.16.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/typescript-estree/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.16.0/packages/typescript-estree) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> * stub path.isAbsolute Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
10 lines
190 B
JavaScript
10 lines
190 B
JavaScript
export function extname(path) {
|
|
const dotIndex = path.lastIndexOf(".");
|
|
if (dotIndex === -1) return "";
|
|
return path.slice(dotIndex);
|
|
}
|
|
|
|
export function isAbsolute() {
|
|
return true;
|
|
}
|