//./hoge.js
class HOGE {}
class FUGA {}
classPIYO{}
↑Create a file like this
//./fuga.js
import* from './hoge';
// ↑↓ Either way is possible
import {HOGE, FUGA, PIYO} from 'hoge';
↑ I would like to be able to use it like this, but on the ./hoge.js
side, how should I do export
?
export class HOGE{}
export class FUGA {}
export class PIYO {}
I think it would be safe to export each class like this.
613 GDB gets version error when attempting to debug with the Presense SDK (IDE)
621 Uncaught (inpromise) Error on Electron: An object could not be cloned
582 PHP ssh2_scp_send fails to send files as intended
918 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
© 2024 OneMinuteCode. All rights reserved.