Skip to content

Commit 7c2ffe7

Browse files
author
Jackson Dean
committed
chore: Swap direct dependency on @glimmer/syntax to @css-blocks/glimmer.
1 parent fbef5a8 commit 7c2ffe7

File tree

3 files changed

+4612
-1653
lines changed

3 files changed

+4612
-1653
lines changed

packages/@css-blocks/language-server/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"dependencies": {
1515
"@css-blocks/config": "^1.0.0-alpha.0",
1616
"@css-blocks/core": "^1.0.0-alpha.0",
17-
"@glimmer/syntax": "^0.42.1",
17+
"@css-blocks/glimmer": "^1.0.0-alpha.0",
1818
"glob": "^7.1.6",
1919
"glob-escape": "^0.0.2",
2020
"opticss": "^0.6.2",

packages/@css-blocks/language-server/src/util/createFocusPath.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface FocusPath {
1212
* Returns a linked list where the root node is the item found at the corresponding
1313
* position with links back to all of its parent nodes.
1414
*/
15-
export function createFocusPath(node: AST.Template, position: Position, seen = new Set(), astPathNode: FocusPath = { parent: null, data: null }): FocusPath | null {
15+
export function createFocusPath(node: AST.Node, position: Position, seen = new Set(), astPathNode: FocusPath = { parent: null, data: null }): FocusPath | null {
1616
seen.add(node);
1717

1818
let range: SourceLocation = node.loc;

0 commit comments

Comments
 (0)