core/apis/errors: rename to error and don't export Error type

This commit is contained in:
Patrik Oldsberg
2020-03-23 09:40:19 +01:00
parent 392fc2a47f
commit 4f13f2c778
2 changed files with 2 additions and 2 deletions
@@ -20,7 +20,7 @@ import ApiRef from '../ApiRef';
* Mirrors the javascript Error class, for the purpose of
* providing documentation and optional fields.
*/
export type Error = {
type Error = {
name: string;
message: string;
stack?: string;
@@ -20,4 +20,4 @@
//
// If you think some API definition is missing, please open an Issue or send a PR!
export * from './errors';
export * from './error';