You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
flow-remove-types throws a syntax error on ES import attributes #9347
For import attributes, it may help to include both parser and stripping expectations. flow-remove-types users usually expect syntax it does not understand to be preserved when it is not type syntax, so a fixture with import data from './x.json' with { type: 'json' } would clarify whether the failure is in parser support or in the transform step. That would also guard parity with the main Flow parser.
Activity
hiSandog commentedon Jun 29, 2026
For
importattributes, it may help to include both parser and stripping expectations.flow-remove-typesusers usually expect syntax it does not understand to be preserved when it is not type syntax, so a fixture withimport data from './x.json' with { type: 'json' }would clarify whether the failure is in parser support or in the transform step. That would also guard parity with the main Flow parser.SamChou19815 commentedon Oct 22, 2026
now it works