This commit upgrades TypeScript to the latest version 5.3 and introduces `verbatimModuleSyntax` in line with the official Vue guide recommendatinos (vuejs/docs#2592). By enforcing `import type` for type-only imports, this commit improves code clarity and supports tooling optimization, ensuring imports are only bundled when necessary for runtime. Changes: - Bump TypeScript to 5.3.3 across the project. - Adjust import statements to utilize `import type` where applicable, promoting cleaner and more efficient code.
39 lines
836 B
TypeScript
39 lines
836 B
TypeScript
import type { IAppMetadata } from '@/infrastructure/EnvironmentVariables/IAppMetadata';
|
|
|
|
export class AppMetadataStub implements IAppMetadata {
|
|
public version = '0.12.2';
|
|
|
|
public name = 'stub-name';
|
|
|
|
public slogan = 'stub-slogan';
|
|
|
|
public repositoryUrl = 'stub-repository-url';
|
|
|
|
public homepageUrl = 'stub-homepage-url';
|
|
|
|
public withVersion(version: string): this {
|
|
this.version = version;
|
|
return this;
|
|
}
|
|
|
|
public witName(name: string): this {
|
|
this.name = name;
|
|
return this;
|
|
}
|
|
|
|
public withSlogan(slogan: string): this {
|
|
this.slogan = slogan;
|
|
return this;
|
|
}
|
|
|
|
public withRepositoryUrl(repositoryUrl: string): this {
|
|
this.repositoryUrl = repositoryUrl;
|
|
return this;
|
|
}
|
|
|
|
public withHomepageUrl(homepageUrl: string): this {
|
|
this.homepageUrl = homepageUrl;
|
|
return this;
|
|
}
|
|
}
|