Last change
on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
896 bytes
|
Line | |
---|
1 | /// <amd-module name="@angular/compiler-cli/src/typescript_support" />
|
---|
2 | export declare function setTypeScriptVersionForTesting(version: string): void;
|
---|
3 | export declare function restoreTypeScriptVersionForTesting(): void;
|
---|
4 | /**
|
---|
5 | * Checks whether a given version ∈ [minVersion, maxVersion[.
|
---|
6 | * An error will be thrown when the given version ∉ [minVersion, maxVersion[.
|
---|
7 | *
|
---|
8 | * @param version The version on which the check will be performed
|
---|
9 | * @param minVersion The lower bound version. A valid version needs to be greater than minVersion
|
---|
10 | * @param maxVersion The upper bound version. A valid version needs to be strictly less than
|
---|
11 | * maxVersion
|
---|
12 | *
|
---|
13 | * @throws Will throw an error if the given version ∉ [minVersion, maxVersion[
|
---|
14 | */
|
---|
15 | export declare function checkVersion(version: string, minVersion: string, maxVersion: string): void;
|
---|
16 | export declare function verifySupportedTypeScriptVersion(): void;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.