File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
packages/components/data-source/src Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @sl-design-system/data-source ' : patch
3
+ ---
4
+
5
+ Changed the way FetchListDataSourceError is exported in the package.
Original file line number Diff line number Diff line change @@ -68,14 +68,14 @@ export interface FetchListDataSourceOptions<T> extends ListDataSourceOptions<T>
68
68
69
69
export type FetchListDataSourceEvent = CustomEvent < FetchListDataSourceCallbackOptions > ;
70
70
71
- export const FetchListDataSourceError = class extends Error {
71
+ export class FetchListDataSourceError extends Error {
72
72
constructor (
73
73
message : string ,
74
74
public response : Response
75
75
) {
76
76
super ( message ) ;
77
77
}
78
- } ;
78
+ }
79
79
80
80
/** Symbol used as a placeholder for items that are being loaded. */
81
81
export const FetchListDataSourcePlaceholder = Symbol ( 'FetchListDataSourcePlaceholder' ) ;
You can’t perform that action at this time.
0 commit comments