BridgeJS only supports the .from in top-level decls for @JSClass, @JSFunction and @JSGetter. In other places (eg: class members) the specified JSImportFrom is essentially ignored.
we should add diagnostics instead of ignoring invalid from parameters.
BridgeJS only supports the
.fromin top-level decls for@JSClass,@JSFunctionand@JSGetter. In other places (eg: class members) the specifiedJSImportFromis essentially ignored.we should add diagnostics instead of ignoring invalid
fromparameters.