Skip to content

Commit 3db3343

Browse files
committed
Compile + Prettier
1 parent 7b98611 commit 3db3343

File tree

4 files changed

+69
-44
lines changed

4 files changed

+69
-44
lines changed

lib/misc/scopes.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { PointCompatible, TextEditor } from "atom";
2+
export declare function isStringScope(scopes: readonly string[]): boolean;
3+
export declare function forLines(editor: TextEditor, start: number, end: number): string[];
4+
export declare function isCommentScope(scopes: readonly string[]): boolean;
5+
/**
6+
* Returns `true` if the scope at `bufferPosition` in `editor` is valid code scope to be inspected.
7+
* Supposed to be used within Atom-IDE integrations, whose `grammarScopes` setting doesn't support
8+
* embedded scopes by default.
9+
*/
10+
export declare function isValidScopeToInspect(editor: TextEditor, bufferPosition: PointCompatible): boolean;

lib/misc/scopes.js

Lines changed: 55 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/misc/scopes.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/misc/tsconfig.tsbuildinfo

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"version": "3.8.2"
3+
}

0 commit comments

Comments
 (0)