Skip to content

Commit eedc261

Browse files
committed
Minor PR feedback
1 parent 9a65a66 commit eedc261

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

src/compiler/factory.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1766,8 +1766,6 @@ namespace ts {
17661766

17671767
// Utilities
17681768

1769-
function asName(name: string): Identifier;
1770-
function asName(name: Identifier): Identifier;
17711769
function asName(name: string | Identifier): Identifier;
17721770
function asName(name: string | BindingName): BindingName;
17731771
function asName(name: string | PropertyName): PropertyName;
@@ -1811,8 +1809,6 @@ namespace ts {
18111809
/**
18121810
* Associates a node with the current transformation, initializing
18131811
* various transient transformation properties.
1814-
*
1815-
* @param node The node.
18161812
*/
18171813
/* @internal */
18181814
export function getOrCreateEmitNode(node: Node) {
@@ -1845,8 +1841,6 @@ namespace ts {
18451841

18461842
/**
18471843
* Gets flags that control emit behavior of a node.
1848-
*
1849-
* @param node The node.
18501844
*/
18511845
export function getEmitFlags(node: Node) {
18521846
const emitNode = node.emitNode;
@@ -1855,9 +1849,6 @@ namespace ts {
18551849

18561850
/**
18571851
* Sets flags that control emit behavior of a node.
1858-
*
1859-
* @param node The node.
1860-
* @param emitFlags The NodeEmitFlags for the node.
18611852
*/
18621853
export function setEmitFlags<T extends Node>(node: T, emitFlags: EmitFlags) {
18631854
getOrCreateEmitNode(node).flags = emitFlags;
@@ -1866,8 +1857,6 @@ namespace ts {
18661857

18671858
/**
18681859
* Gets a custom text range to use when emitting source maps.
1869-
*
1870-
* @param node The node.
18711860
*/
18721861
export function getSourceMapRange(node: Node) {
18731862
const emitNode = node.emitNode;
@@ -1876,9 +1865,6 @@ namespace ts {
18761865

18771866
/**
18781867
* Sets a custom text range to use when emitting source maps.
1879-
*
1880-
* @param node The node.
1881-
* @param range The text range.
18821868
*/
18831869
export function setSourceMapRange<T extends Node>(node: T, range: TextRange) {
18841870
getOrCreateEmitNode(node).sourceMapRange = range;
@@ -1887,9 +1873,6 @@ namespace ts {
18871873

18881874
/**
18891875
* Gets the TextRange to use for source maps for a token of a node.
1890-
*
1891-
* @param node The node.
1892-
* @param token The token.
18931876
*/
18941877
export function getTokenSourceMapRange(node: Node, token: SyntaxKind) {
18951878
const emitNode = node.emitNode;
@@ -1899,10 +1882,6 @@ namespace ts {
18991882

19001883
/**
19011884
* Sets the TextRange to use for source maps for a token of a node.
1902-
*
1903-
* @param node The node.
1904-
* @param token The token.
1905-
* @param range The text range.
19061885
*/
19071886
export function setTokenSourceMapRange<T extends Node>(node: T, token: SyntaxKind, range: TextRange) {
19081887
const emitNode = getOrCreateEmitNode(node);
@@ -1913,8 +1892,6 @@ namespace ts {
19131892

19141893
/**
19151894
* Gets a custom text range to use when emitting comments.
1916-
*
1917-
* @param node The node.
19181895
*/
19191896
export function getCommentRange(node: Node) {
19201897
const emitNode = node.emitNode;

0 commit comments

Comments
 (0)