Skip to content

Commit

Permalink
css map typing
Browse files Browse the repository at this point in the history
  • Loading branch information
gavmck committed Jan 23, 2024
1 parent 347fc25 commit 60a6735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/css-map.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { unsafeCSS } from 'lit';

export function cssMap(arr, callback) {
export function cssMap(arr: any[], callback: (any) => string) {

Check warning on line 3 in lib/css-map.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected any. Specify a different type
return unsafeCSS(arr.map(callback).join('\n'));
}

0 comments on commit 60a6735

Please sign in to comment.