Skip to content

Commit 113c42a

Browse files
authored
Merge branch 'typed-ember:main' into allow-generics-in-signatures
2 parents 5fc1115 + 5861a8b commit 113c42a

File tree

16 files changed

+31
-31
lines changed

16 files changed

+31
-31
lines changed

docs/ember/helper-and-modifier-signatures.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ export interface AddSignature {
2424
}
2525

2626
export default class AddHelper extends Helper<AddSignature> {
27-
public compute(positional: Positional, named: Named): number {
28-
let total = positional.reduce((sum, next) => sum + next, 0);
27+
public compute(values: Positional, named: Named): number {
28+
let total = values.reduce((sum, next) => sum + next, 0);
2929
if (typeof named.andThenMultiplyBy === 'number') {
3030
total *= named.andThenMultiplyBy;
3131
}
@@ -49,7 +49,7 @@ export interface AddSignature {
4949
}
5050

5151
const add = helper<AddSignature>((values, { andThenMultiplyBy }) => {
52-
let total = positional.reduce((sum, next) => sum + next, 0);
52+
let total = values.reduce((sum, next) => sum + next, 0);
5353
if (typeof andThenMultiplyBy === 'number') {
5454
total *= andThenMultiplyBy;
5555
}
@@ -66,7 +66,7 @@ export default add;
6666
import { helper } from '@ember/component/helper';
6767

6868
const add = helper((values: Array<number>, named: { andThenMultiplyBy?: number }) => {
69-
let total = positional.reduce((sum, next) => sum + next, 0);
69+
let total = values.reduce((sum, next) => sum + next, 0);
7070
if (typeof named.andThenMultiplyBy === 'number') {
7171
total *= named.andThenMultiplyBy;
7272
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@
3737
"@types/yargs": "17.0.13",
3838
"ember-cli-htmlbars": "^6.0.1"
3939
},
40-
"version": "1.0.2"
40+
"version": "1.1.0"
4141
}

packages/core/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@glint/core",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"repository": "typed-ember/glint",
55
"description": "A CLI for performing typechecking on Glimmer templates",
66
"license": "MIT",
@@ -43,7 +43,7 @@
4343
"yargs": "^17.5.1"
4444
},
4545
"devDependencies": {
46-
"glint-monorepo-test-utils": "^1.0.2",
46+
"glint-monorepo-test-utils": "^1.1.0",
4747
"@types/common-tags": "^1.8.0",
4848
"@types/node": "^18.11.5",
4949
"@types/semver": "^7.3.13",

packages/environment-ember-loose/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@glint/environment-ember-loose",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"repository": "typed-ember/glint",
55
"description": "A Glint environment to support loose-mode Ember.js projects",
66
"license": "MIT",
@@ -28,7 +28,7 @@
2828
],
2929
"peerDependencies": {
3030
"@glimmer/component": "^1.1.2",
31-
"@glint/template": "^1.0.2",
31+
"@glint/template": "^1.1.0",
3232
"@types/ember__array": "^4.0.2",
3333
"@types/ember__component": "^4.0.10",
3434
"@types/ember__controller": "^4.0.2",

packages/environment-ember-template-imports/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@glint/environment-ember-template-imports",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"repository": "typed-ember/glint",
55
"description": "A Glint environment to support ember-template-imports projects",
66
"license": "MIT",
@@ -27,8 +27,8 @@
2727
"globals/index.d.ts"
2828
],
2929
"peerDependencies": {
30-
"@glint/environment-ember-loose": "^1.0.2",
31-
"@glint/template": "^1.0.2",
30+
"@glint/environment-ember-loose": "^1.1.0",
31+
"@glint/template": "^1.1.0",
3232
"@types/ember__component": "^4.0.10",
3333
"@types/ember__helper": "^4.0.1",
3434
"@types/ember__modifier": "^4.0.3",

packages/environment-glimmerx/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@glint/environment-glimmerx",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"repository": "typed-ember/glint",
55
"description": "A Glint environment to support GlimmerX projects",
66
"license": "MIT",
@@ -30,7 +30,7 @@
3030
"component/**/*.{js,d.ts}"
3131
],
3232
"peerDependencies": {
33-
"@glint/template": "^1.0.2",
33+
"@glint/template": "^1.1.0",
3434
"@glimmerx/component": "^0.6.7",
3535
"@glimmerx/modifier": "^0.6.7",
3636
"@glimmerx/helper": "^0.6.7"

packages/scripts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@glint/scripts",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"type": "module",
55
"repository": "typed-ember/glint",
66
"description": "Scripts for working with Glint",

packages/template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@glint/template",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"repository": "typed-ember/glint",
55
"description": "Type definitions to back typechecking for Glimmer templates",
66
"license": "MIT",

packages/type-test/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@glint/type-test",
3-
"version": "1.0.2",
3+
"version": "1.1.0",
44
"repository": "typed-ember/glint",
55
"description": "Tools for testing inferred types in Glint-enabled templates",
66
"license": "MIT",
@@ -21,7 +21,7 @@
2121
"expect-type": "^0.15.0"
2222
},
2323
"peerDependencies": {
24-
"@glint/template": "^1.0.2"
24+
"@glint/template": "^1.1.0"
2525
},
2626
"publishConfig": {
2727
"access": "public"

packages/vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "glint-vscode",
33
"displayName": "Glint",
44
"description": "Glint language server integration for VS Code",
5-
"version": "1.0.2",
5+
"version": "1.1.0",
66
"publisher": "typed-ember",
77
"private": true,
88
"author": "James C. Davis (https://github.com/jamescdavis)",
@@ -92,7 +92,7 @@
9292
"@vscode/test-electron": "Dropped support for Node < 16 in the 2.2.1 patch release, so locking to 2.2.0 while we still support Node 14."
9393
},
9494
"devDependencies": {
95-
"@glint/core": "^1.0.2",
95+
"@glint/core": "^1.1.0",
9696
"@types/mocha": "^10.0.1",
9797
"@types/vscode": "^1.68.1",
9898
"@vscode/test-electron": "2.2.0",

0 commit comments

Comments
 (0)