Skip to content

Commit

Permalink
fix types.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
taefi committed Feb 12, 2024
1 parent 8407c2f commit f99660c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions packages/java/tests/gradle/single-module-tests/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,8 @@ declare module '*.webp' {
const ref: string;
export default ref;
}
declare module '*.css?inline' {
import { CSSResultGroup } from 'lit';
const content: CSSResultGroup;
export default content;
}
2 changes: 1 addition & 1 deletion packages/ts/react-crud/src/autoform.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export type AutoFormProps<M extends AbstractModel = AbstractModel> = ComponentSt
*
* Example usage:
* ```tsx
* import { AutoForm } from '@hilla/react-crud';
* import { AutoForm } from '@vaadin/hilla-react-crud';
* import PersonService from 'Frontend/generated/endpoints';
* import PersonModel from 'Frontend/generated/com/example/application/Person';
*
Expand Down
2 changes: 1 addition & 1 deletion packages/ts/react-crud/src/autogrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ type AutoGrid = <TItem>(
*
* Example usage:
* ```tsx
* import { AutoGrid } from '@hilla/react-crud';
* import { AutoGrid } from '@vaadin/hilla-react-crud';
* import PersonService from 'Frontend/generated/endpoints';
* import PersonModel from 'Frontend/generated/com/example/application/Person';
*
Expand Down

0 comments on commit f99660c

Please sign in to comment.