Skip to content

Commit

Permalink
Fix linting issues in runtime/defineMessages.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
brawaru committed Oct 30, 2023
1 parent 2d64a10 commit 21945e4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/runtime/defineMessages.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
import type { MessageDescriptor } from "../types/index.js";
import type { MessageDescriptor } from '../types/index.js'

export function defineMessage<const Descriptor extends MessageDescriptor>(descriptor: Descriptor) {
export function defineMessage<const Descriptor extends MessageDescriptor>(
descriptor: Descriptor,
) {
return descriptor
}

export function defineMessages<const Descriptors extends Record<string, MessageDescriptor>>(descriptors: Descriptors) {
export function defineMessages<
const Descriptors extends Record<string, MessageDescriptor>,
>(descriptors: Descriptors) {
return descriptors
}

0 comments on commit 21945e4

Please sign in to comment.