mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-26 20:24:42 +01:00
Fix lints (#1010)
This commit is contained in:
parent
41c2dc327b
commit
d155f3518e
@ -16,7 +16,7 @@ import '../utils.dart';
|
||||
/// to have a constructor injected into their inheritance chain so that
|
||||
/// `instanceof` works properly.
|
||||
final Function booleanConstructor = () {
|
||||
var constructor = allowInterop(([_]) {
|
||||
var constructor = allowInterop(([dynamic _]) {
|
||||
throw "new sass.types.Boolean() isn't allowed.\n"
|
||||
"Use sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.";
|
||||
});
|
||||
|
@ -16,7 +16,7 @@ import '../utils.dart';
|
||||
/// to have a constructor injected into their inheritance chain so that
|
||||
/// `instanceof` works properly.
|
||||
final Function nullConstructor = () {
|
||||
var constructor = allowInterop(([_]) {
|
||||
var constructor = allowInterop(([dynamic _]) {
|
||||
throw "new sass.types.Null() isn't allowed. Use sass.types.Null.NULL "
|
||||
"instead.";
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user