Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaLiPassion committed Sep 24, 2018
1 parent 72d5749 commit f20fd0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/zone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,9 @@ const Zone: ZoneType = (function(global: any) {
}

const detectAsyncFunction = async function() {};
const AsyncFunction = (detectAsyncFunction.constructor as any).name === 'AsyncFunction' ? detectAsyncFunction.constructor : null;
const AsyncFunction = (detectAsyncFunction.constructor as any).name === 'AsyncFunction' ?
detectAsyncFunction.constructor :
null;

class Zone implements AmbientZone {
static __symbol__: (name: string) => string = __symbol__;
Expand Down

0 comments on commit f20fd0c

Please sign in to comment.