Skip to content

Commit

Permalink
fix(docs): import type
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteves60 authored and dpellier committed Sep 28, 2023
1 parent 859093b commit cc77a5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 224 deletions.
5 changes: 2 additions & 3 deletions packages/common/core/src/utils/typedoc/typedoc-json-to-md.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import {
import type {
DeclarationReflection,
SomeType,
LiteralType,
IntrinsicType,
ReflectionType,
ReflectionKind,
ReferenceType,
} from 'typedoc';

Expand Down Expand Up @@ -99,7 +98,7 @@ function getClass(filteredJSON: DeclarationReflection[]): string[] {
}

// Methods
const methods = typeDocClass.children?.filter((method) => method.kind === ReflectionKind.Method)
const methods = typeDocClass.children?.filter((method) => method?.kindString === 'Method')
.filter((method) => method.decorators?.[0].name === 'Method' && (method.decorators?.[0].type as ReferenceType)?.package === '@stencil/core');
if (!methods?.length) {
return;
Expand Down
221 changes: 0 additions & 221 deletions packages/components/input/documentation/specifications/specInput.md

This file was deleted.

0 comments on commit cc77a5f

Please sign in to comment.