diff options
author | Björn Harrtell <bjornharrtell@users.noreply.github.com> | 2020-09-21 18:46:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 09:46:24 -0700 |
commit | 96d5e359773987314c25fa5181adb77c064ac625 (patch) | |
tree | 96cad1411e47640690c7ad88802d36949d1b0ae4 /ts | |
parent | eb686a86f39c818f922105d6a994cedc512de60e (diff) | |
download | flatbuffers-96d5e359773987314c25fa5181adb77c064ac625.tar.gz flatbuffers-96d5e359773987314c25fa5181adb77c064ac625.tar.bz2 flatbuffers-96d5e359773987314c25fa5181adb77c064ac625.zip |
[JS/TS] fix flatbuffers default export (#6123)
* [TS/JS] Export flatbuffers namespace as default export
* [TS/JS] Fully qualified name
* Export as default and named
Diffstat (limited to 'ts')
-rw-r--r-- | ts/flatbuffers.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ts/flatbuffers.ts b/ts/flatbuffers.ts index 2c2a295e..91845275 100644 --- a/ts/flatbuffers.ts +++ b/ts/flatbuffers.ts @@ -31,3 +31,4 @@ export namespace flatbuffers { export const ByteBuffer = ByteBufferClass; } +export default flatbuffers; |