Commit Graph

12 Commits

Author SHA1 Message Date
Natalie Weizenbaum
ade3787da2
Add a type annotation for the top-level NULL field (#3243) 2022-01-11 17:28:10 -08:00
Natalie Weizenbaum
72974e1ec9
Add type annotations for the top-level TRUE and FALSE fields (#3241) 2022-01-07 14:34:44 -08:00
Natalie Weizenbaum
a9aa972e44
Add type annotations for the sass.types.Error class (#3238) 2022-01-05 16:39:32 -08:00
Natalie Weizenbaum
b192519b55
Document the new JS API (#3183) 2021-11-30 23:32:04 +00:00
Natalie Weizenbaum
ea3d97b8d6
Replace FileImporterResult with a plain URL (#3180)
Supplying a source map URL doesn't make sense for a file importer, for
two reasons:

1. A canonical `file:` URL is already the recommended source map URL
   because it's always available on the local system.

2. Because a FileImporter doesn't know the fully-resolved canonical
   URL of the file it loads, it doesn't have any way of determining
   what the full source map URL should be anyway.
2021-10-09 01:19:02 +00:00
Natalie Weizenbaum
6f5552ff8e Document the legacy API and Logger 2021-10-04 15:01:18 -07:00
Natalie Weizenbaum
e0b72c11ba Rename ImporterThis and PluginThis to clearly indicate legacy status 2021-10-04 14:19:14 -07:00
Natalie Weizenbaum
f289bb8c9b Test that typedoc builds with no warnings 2021-10-01 17:36:53 -07:00
Natalie Weizenbaum
3bfa74e351
Document the info field in the JS API (#3155)
This was originally part of the legacy API, but I'm bringing it into
the main API so that *all* JS Sass packages provide identifying
information in the same format.
2021-09-16 22:44:13 +00:00
Natalie Weizenbaum
d0fb4acff6 Add new JS APIs to the spec 2021-09-07 17:32:11 -07:00
Natalie Weizenbaum
c8f6dbf3d4 Rename legacy Node APIs to Legacy*
This avoids name conflicts with the new APIs.
2021-09-07 16:44:02 -07:00
Natalie Weizenbaum
6f7fbe6b8a Refactor js-api.d.ts into multiple files 2021-09-07 16:31:20 -07:00