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've been trying to work with the JS API, but can seem to figure out why documented methods doesn't seem to be available. I've even tried some of the examples, but they don't seem to be working either.
The provided runkit doesn't actually report an error calling assertNumber on null, but it does reveal a bug in assertNoUnits where it's not returning the number in question. Re-targeting this issue for that bug.
jathak
changed the title
NoSuchMethodError: method not found: 'assertNumber' on null
assertNoUnits and assertUnit return null instead of the number called on when it passes the assertion
May 3, 2022
I've been trying to work with the JS API, but can seem to figure out why documented methods doesn't seem to be available. I've even tried some of the examples, but they don't seem to be working either.
https://github.com/sass/sass/blob/12cee2dab996a5424160e644ff56f040a42bc0e3/js-api-doc/options.d.ts#L37-L48
Tested using Dart Sass 1.51.0
The text was updated successfully, but these errors were encountered: