Skip to content

Commit

Permalink
Typescript conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanBirtch-aot committed Jun 3, 2024
1 parent a878ac4 commit 00b4953
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Components } from 'formiojs';
const FieldComponent = Components.components.field;
const FieldComponent = (Components as any).components.field;
// import MapService from './services/MapService';

const CENTER = [48.41939025932759,-123.37029576301576]

class Component extends FieldComponent {
class Component extends (FieldComponent as any) {
static schema(...extend) {
return FieldComponent.schema({
type: 'map',
Expand All @@ -20,7 +20,7 @@ class Component extends FieldComponent {
group: 'basic',
icon: 'map',
weight: 70,
schema: MapComponent.schema(),
schema: Component.schema(),
};
}

Expand Down

0 comments on commit 00b4953

Please sign in to comment.