You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
457 B
15 lines
457 B
export const { hasOwnProperty, } = Object.prototype; |
|
export const arrayFromSet = Array.from || |
|
function (set) { |
|
const array = []; |
|
set.forEach(item => array.push(item)); |
|
return array; |
|
}; |
|
export function maybeUnsubscribe(entryOrDep) { |
|
const { unsubscribe } = entryOrDep; |
|
if (typeof unsubscribe === "function") { |
|
entryOrDep.unsubscribe = void 0; |
|
unsubscribe(); |
|
} |
|
} |
|
//# sourceMappingURL=helpers.js.map
|