You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reading through the code, it seems that SassBoolean was left as an interface so that it could not be called with weird things like new SassBoolean(123 as boolean).
To preserve that intent, I think we can simply replace the interface with an abstract class, and then the use case posted by @guillaumerochelle should work, I think
The actual typescript annotations that clients see are the ones from the spec directory, so there's no type-checking value in having the implementation have different types.
Originally posted by @guillaumerochelle in #337
The spec defines
SassBoolean
as a class, so this is indeed a bug in the Embedded Host's implementation of the Sass API.The text was updated successfully, but these errors were encountered: