Skip to content

Commit ead40d9

Browse files
Ni55aNCopilot
andauthored
refactor: apply suggestions from copilot code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fb8d828 commit ead40d9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/stack/angular/compatibility.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import execa from 'execa'
44

55
import { getPackageConfig, setPackageConfig } from '../../../shared/npm'
66
import { getTSConfig, setTSConfig } from '../../../shared/ts-config'
7-
import { AngularTSConfig } from './types'
7+
import type { AngularTSConfig } from './types'
88

99
export async function installCompatibleTS(path: string, version: string) {
1010
console.log(chalk.bgGreen(' INFO '), chalk.green(`Enforcing the installation of TypeScript ${version} for the specified Angular version (adding "overrides" and "disableTypeScriptVersionCheck")`))

src/app/stack/angular/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TSConfig } from '../../../shared/ts-config'
1+
import type { TSConfig } from '../../../shared/ts-config'
22

33
export type AngularVersion = 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19
44

0 commit comments

Comments
 (0)