mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
accept baseline changes
This commit is contained in:
@@ -2217,7 +2217,6 @@ declare namespace ts {
|
||||
}
|
||||
interface UniqueESSymbolType extends Type {
|
||||
symbol: Symbol;
|
||||
escapedName: __String;
|
||||
}
|
||||
interface StringLiteralType extends LiteralType {
|
||||
value: string;
|
||||
|
||||
@@ -40,7 +40,8 @@ var temp = 10;
|
||||
|
||||
//// [exponentiationOperatorSyntaxError1.js]
|
||||
// Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
|
||||
Math.pow(-1, 2);
|
||||
Math.pow(// Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
|
||||
-1, 2);
|
||||
Math.pow(+1, 2);
|
||||
Math.pow(1, Math.pow(-2, 3));
|
||||
Math.pow(1, Math.pow(-2, -3));
|
||||
|
||||
Reference in New Issue
Block a user