mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-03 18:39:09 -05:00
Enable "object-literal-shorthand" lint rule (#16987)
This commit is contained in:
@@ -41,13 +41,9 @@ namespace ts {
|
||||
}
|
||||
|
||||
function getFileReference() {
|
||||
const file = scanner.getTokenValue();
|
||||
const fileName = scanner.getTokenValue();
|
||||
const pos = scanner.getTokenPos();
|
||||
return {
|
||||
fileName: file,
|
||||
pos: pos,
|
||||
end: pos + file.length
|
||||
};
|
||||
return { fileName, pos, end: pos + fileName.length };
|
||||
}
|
||||
|
||||
function recordAmbientExternalModule(): void {
|
||||
|
||||
Reference in New Issue
Block a user