@glint/ember-tsc 1.0.3-unstable.a03da8a → 1.0.3-unstable.cca1f7b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glint/ember-tsc",
|
|
3
|
-
"version": "1.0.3-unstable.
|
|
3
|
+
"version": "1.0.3-unstable.cca1f7b",
|
|
4
4
|
"repository": "typed-ember/glint",
|
|
5
5
|
"description": "A CLI for performing typechecking on Glimmer templates",
|
|
6
6
|
"license": "MIT",
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@glimmer/syntax": ">= 0.95.0",
|
|
95
|
-
"@glint/template": "1.6.2-unstable.
|
|
95
|
+
"@glint/template": "1.6.2-unstable.cca1f7b",
|
|
96
96
|
"@volar/kit": "2.4.23",
|
|
97
97
|
"@volar/language-core": "2.4.23",
|
|
98
98
|
"@volar/language-server": "2.4.23",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
},
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@glimmer/component": "^2.0.0",
|
|
118
|
-
"@glint/type-test": "2.0.1-unstable.
|
|
118
|
+
"@glint/type-test": "2.0.1-unstable.cca1f7b",
|
|
119
119
|
"@types/common-tags": "^1.8.0",
|
|
120
120
|
"@types/node": "^18.11.5",
|
|
121
121
|
"@types/semver": "^7.3.13",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// This module is responsible for augmenting the upstream definitions of entities that interact
|
|
2
2
|
// with templates to include the information necessary for Glint to typecheck them.
|
|
3
3
|
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import { ComponentLike, HelperLike, ModifierLike } from '@glint/template';
|
|
5
|
+
import {
|
|
6
6
|
Context,
|
|
7
7
|
FlattenBlockParams,
|
|
8
8
|
HasContext,
|
|
9
9
|
TemplateContext,
|
|
10
10
|
} from '@glint/template/-private/integration';
|
|
11
|
-
import
|
|
11
|
+
import {
|
|
12
12
|
ComponentSignatureArgs,
|
|
13
13
|
ComponentSignatureBlocks,
|
|
14
14
|
ComponentSignatureElement,
|
|
@@ -34,8 +34,8 @@ declare module '@glimmer/component' {
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
import
|
|
38
|
-
import
|
|
37
|
+
import { InputComponent as ImportedInputComponent } from '../intrinsics/input';
|
|
38
|
+
import { TextareaComponent as ImportedTextareaComponent } from '../intrinsics/textarea';
|
|
39
39
|
declare module '@ember/component' {
|
|
40
40
|
export default interface Component<S> extends InstanceType<ComponentLike<S>> {
|
|
41
41
|
[Context]: ComponentContext<this, S>;
|
|
@@ -78,8 +78,8 @@ declare module 'ember-modifier' {
|
|
|
78
78
|
//////////////////////////////////////////////////////////////////////
|
|
79
79
|
// Routes and Controllers
|
|
80
80
|
|
|
81
|
-
import
|
|
82
|
-
import
|
|
81
|
+
import Controller from '@ember/controller';
|
|
82
|
+
import Route from '@ember/routing/route';
|
|
83
83
|
|
|
84
84
|
type ModelForRoute<T extends Route> = Awaited<ReturnType<T['model']>>;
|
|
85
85
|
type ModelField<T> = { model: T };
|
|
@@ -101,7 +101,7 @@ declare module '@ember/controller' {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
-
import
|
|
104
|
+
import { LinkToComponent } from '../intrinsics/link-to';
|
|
105
105
|
declare module '@ember/routing' {
|
|
106
106
|
export interface LinkTo extends LinkToComponent {}
|
|
107
107
|
}
|
|
@@ -126,15 +126,15 @@ declare module 'ember-cli-htmlbars' {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
import '@ember/modifier';
|
|
129
|
-
import
|
|
129
|
+
import { OnModifier as ImportedOnModifier } from '../intrinsics/on';
|
|
130
130
|
declare module '@ember/modifier' {
|
|
131
131
|
export interface OnModifier extends ImportedOnModifier {}
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
import '@ember/helper';
|
|
135
|
-
import
|
|
136
|
-
import
|
|
137
|
-
import
|
|
135
|
+
import { ConcatHelper as ImportedConcatHelper } from '../intrinsics/concat';
|
|
136
|
+
import { FnHelper as ImportedFnHelper } from '../intrinsics/fn';
|
|
137
|
+
import { GetHelper as ImportedGetHelper } from '../intrinsics/get';
|
|
138
138
|
|
|
139
139
|
declare module '@ember/helper' {
|
|
140
140
|
export interface ConcatHelper extends ImportedConcatHelper {}
|