Skip to content

Commit

Permalink
fix: remove unused code (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanlawson authored Nov 1, 2021
1 parent 3567253 commit 3595c5c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ const {
getPrototypeOf,
create: ObjectCreate,
defineProperty: ObjectDefineProperty,
defineProperties: ObjectDefineProperties,
isExtensible,
getOwnPropertyDescriptor,
getOwnPropertyNames,
Expand All @@ -16,18 +15,15 @@ const {
const {
push: ArrayPush,
concat: ArrayConcat,
map: ArrayMap,
} = Array.prototype;

export {
ArrayPush,
ArrayConcat,
ArrayMap,
isArray,
getPrototypeOf,
ObjectCreate,
ObjectDefineProperty,
ObjectDefineProperties,
isExtensible,
getOwnPropertyDescriptor,
getOwnPropertyNames,
Expand Down Expand Up @@ -55,10 +51,6 @@ export function isFunction(obj: any): obj is Function {
return typeof obj === 'function';
}

export function isObject(obj: any): obj is object {
return typeof obj === 'object';
}

const proxyToValueMap: WeakMap<object, any> = new WeakMap();

export function registerProxy(proxy: object, value: any) {
Expand Down

0 comments on commit 3595c5c

Please sign in to comment.