Skip to content

Error: Import declaration conflicts with local declaration of ‘HeadlineProps’. #24

Description

@lmestel

Schema:

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "http://schema.encore.de/headline.schema.json",
  "title": "Headline",
  "description": "Headline",
  "allOf": [
    {
      "type": "object",
      "properties": {
        "highlight": {
          "title": "Highlight?",
          "description": "Highlight the headline?",
          "type": "boolean",
          "default": false
        },
        "animation": {
          "title": "Animated?",
          "description": "Animate the headline?",
          "type": "boolean",
          "default": false
        },
        "switchOrder": {
          "type": "boolean",
          "title": "Switch order?",
          "description": "Switch order of headline and subheadline",
          "default": false
        }
      }
    },
    {
      "$ref": "http://schema.kickstartds.com/base/headline.schema.json"
    }
  ]
}

Generated Types:

import type {HeadlineProps} from "@kickstartds/base/lib/headline/typing";

/**
 * Headline
 */
export type HeadlineProps = {
  highlight?: Highlight;
  animation?: Animated;
  switchOrder?: SwitchOrder;
} & HeadlineProps;
/**
 * Highlight the headline?
 */
export type Highlight = boolean;
/**
 * Animate the headline?
 */
export type Animated = boolean;
/**
 * Switch order of headline and subheadline
 */
export type SwitchOrder = boolean;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions