mirror of
https://github.com/sass/sass.git
synced 2024-09-21 02:27:30 +00:00
Add a deprecation type for the legacy JS API (#3932)
This commit is contained in:
parent
0150d3861d
commit
6a3df1fe6b
9
js-api-doc/deprecations.d.ts
vendored
9
js-api-doc/deprecations.d.ts
vendored
@ -6,7 +6,7 @@
|
||||
*/
|
||||
export interface Deprecations {
|
||||
// START AUTOGENERATED LIST
|
||||
// Checksum: 5470e7252641d3eaa7093b072b52e423c3b77375
|
||||
// Checksum: 0243e0f7ee85127d6e1bda5c08e363509959e758
|
||||
|
||||
/**
|
||||
* Deprecation for passing a string directly to meta.call().
|
||||
@ -141,6 +141,13 @@ export interface Deprecations {
|
||||
*/
|
||||
'color-functions': Deprecation<'color-functions'>;
|
||||
|
||||
/**
|
||||
* Deprecation for legacy JS API.
|
||||
*
|
||||
* This deprecation became active in Dart Sass 1.79.0.
|
||||
*/
|
||||
'legacy-js-api': Deprecation<'legacy-js-api'>;
|
||||
|
||||
/**
|
||||
* Deprecation for @import rules.
|
||||
*
|
||||
|
@ -130,6 +130,12 @@ color-functions:
|
||||
status: active
|
||||
deprecated: 1.79.0
|
||||
|
||||
legacy-js-api:
|
||||
description: Legacy JS API.
|
||||
dart-sass:
|
||||
status: active
|
||||
deprecated: 1.79.0
|
||||
|
||||
import:
|
||||
description: "@import rules."
|
||||
dart-sass:
|
||||
|
@ -29,7 +29,7 @@
|
||||
### `Deprecations`
|
||||
|
||||
<!-- START AUTOGENERATED LIST -->
|
||||
<!-- Checksum: 5470e7252641d3eaa7093b072b52e423c3b77375 -->
|
||||
<!-- Checksum: 0243e0f7ee85127d6e1bda5c08e363509959e758 -->
|
||||
```ts
|
||||
export interface Deprecations {
|
||||
'call-string': Deprecation<'call-string'>;
|
||||
@ -51,6 +51,7 @@ export interface Deprecations {
|
||||
'feature-exists': Deprecation<'feature-exists'>;
|
||||
'color-4-api': Deprecation<'color-4-api'>;
|
||||
'color-functions': Deprecation<'color-functions'>;
|
||||
'legacy-js-api': Deprecation<'legacy-js-api'>;
|
||||
import: Deprecation<'import'>;
|
||||
'global-builtin': Deprecation<'global-builtin'>;
|
||||
'user-authored': Deprecation<'user-authored', 'user'>;
|
||||
|
Loading…
Reference in New Issue
Block a user