Skip to content

Commit

Permalink
types: note variations
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Apr 8, 2023
1 parent 992d35d commit 36ce8f0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lexer.ts
Expand Up @@ -52,8 +52,9 @@ export interface ImportSpecifier {
readonly se: number;

/**
* If this import statement is a dynamic import, this is the start value.
* Otherwise this is `-1`.
* If this import keyword is a dynamic import, this is the start value.
* If this import keyword is a static import, this is -1.
* If this import keyword is an import.meta expresion, this is -2.
*/
readonly d: number;

Expand Down

0 comments on commit 36ce8f0

Please sign in to comment.