Skip to content

Commit 44d4439

Browse files
JeanMecheAndrewKushnir
authored andcommitted
refactor(forms): add signal forms to the type tests
This will ensure that signal forms emit valid typings. Also this commits moves `@standard-schema/spec` from peer-dep to regular dep
1 parent 3a01d72 commit 44d4439

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

integration/typings_test_ts59/include-all.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import * as core from '@angular/core';
1818
import * as coreTesting from '@angular/core/testing';
1919
import * as elements from '@angular/elements';
2020
import * as forms from '@angular/forms';
21+
import * as formsSignals from '@angular/forms/signals';
2122
import * as localize from '@angular/localize';
2223
import * as platformBrowser from '@angular/platform-browser';
2324
import * as platformBrowserDynamic from '@angular/platform-browser-dynamic';
@@ -48,6 +49,7 @@ export default {
4849
coreTesting,
4950
elements,
5051
forms,
52+
formsSignals,
5153
localize,
5254
platformBrowser,
5355
platformBrowserTesting,

packages/forms/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
"node": "^20.19.0 || ^22.12.0 || >=24.0.0"
99
},
1010
"dependencies": {
11-
"tslib": "^2.3.0"
11+
"tslib": "^2.3.0",
12+
"@standard-schema/spec": "^1.0.0"
1213
},
1314
"peerDependencies": {
1415
"@angular/core": "0.0.0-PLACEHOLDER",
1516
"@angular/common": "0.0.0-PLACEHOLDER",
1617
"@angular/platform-browser": "0.0.0-PLACEHOLDER",
17-
"@standard-schema/spec": "^1.0.0",
1818
"rxjs": "^6.5.3 || ^7.4.0"
1919
},
2020
"repository": {

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)