浏览代码

Merge pull request #337 from draperunner/fix-named-export-constants

Fix named export of constants through index (fix breaking change in 2.0.1)
Mathieu Acthernoene 5 年前
父节点
当前提交
b69c511f77
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      src/index.ts

+ 2
- 0
src/index.ts 查看文件

@@ -159,6 +159,8 @@ export function requestNotifications(
159 159
 
160 160
 export * from './types';
161 161
 
162
+export {PERMISSIONS, RESULTS} from './constants';
163
+
162 164
 export default {
163 165
   PERMISSIONS,
164 166
   RESULTS,