20 lines
675 B
TypeScript
20 lines
675 B
TypeScript
// Module ID: 5145
|
|
// Function ID: 5146
|
|
// Name: setPermission
|
|
// Dependencies: [573, 2]
|
|
|
|
// Module 5145 (setPermission)
|
|
import set from "set" /* 2 */;
|
|
import dispatcherDefault from "dispatcher" /* 573 */;
|
|
|
|
const prototype = function NativePermissionActionCreators() {
|
|
return Object.create(new.target.prototype);
|
|
}.prototype;
|
|
prototype["setPermission"] = function setPermission(closure_0, DENIED) {
|
|
let obj = dispatcherDefault;
|
|
obj = { type: "SET_NATIVE_PERMISSION", permissionType: closure_0, state: DENIED };
|
|
obj.dispatch(obj);
|
|
};
|
|
const result = set.fileFinishedImporting("modules/native_permissions/NativePermissionActionCreators.tsx");
|
|
|
|
export default prototype;
|