@fimbul/ymir
Advanced tools
Comparing version 0.15.0 to 0.16.0-dev.20181026
{ | ||
"name": "@fimbul/ymir", | ||
"version": "0.15.0", | ||
"version": "0.16.0-dev.20181026", | ||
"description": "Core library for the Fimbullinter project", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
@@ -79,3 +79,2 @@ import 'reflect-metadata'; | ||
export declare function requiresCompilerOption(option: BooleanCompilerOptions): (target: typeof TypedRule) => void; | ||
export declare function requiresStrictNullChecks(target: typeof TypedRule): void; | ||
export declare type RuleSupportsPredicate = (sourceFile: ts.SourceFile, context: RuleSupportsContext) => boolean; | ||
@@ -82,0 +81,0 @@ export declare abstract class AbstractRule { |
@@ -78,6 +78,2 @@ "use strict"; | ||
exports.requiresCompilerOption = requiresCompilerOption; | ||
function requiresStrictNullChecks(target) { | ||
target.supports = combinePredicates(target.supports, (_, context) => tsutils_1.isStrictCompilerOptionEnabled(context.program.getCompilerOptions(), 'strictNullChecks')); | ||
} | ||
exports.requiresStrictNullChecks = requiresStrictNullChecks; | ||
class AbstractRule { | ||
@@ -84,0 +80,0 @@ constructor(context) { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34705
491