Skip to content

Commit

Permalink
#main fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bennobuilder committed Aug 18, 2024
1 parent 9156de4 commit 0968aaa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/google-webfonts-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Result, TFetchClient, TOpenApiFetchResponse } from 'feature-fetch';
import type { TFetchClient, TOpenApiFetchResponse, TResult } from 'feature-fetch';

import type { paths } from './gen/v1';

Expand All @@ -19,15 +19,15 @@ declare module 'feature-fetch' {
fontStyle?: 'italic' | 'regular';
capability?: Omit<paths['/webfonts']['get']['parameters']['query'], 'key'>['capability'];
}
): Promise<Result<string | null, Error>>;
): Promise<TResult<string | null, Error>>;
downloadFontFile(
familiy: Omit<paths['/webfonts']['get']['parameters']['query'], 'key'>['family'],
options: {
fontWeight?: number;
fontStyle?: 'italic' | 'regular';
capability?: Omit<paths['/webfonts']['get']['parameters']['query'], 'key'>['capability'];
}
): Promise<Result<Uint8Array | null, Error>>;
): Promise<TResult<Uint8Array | null, Error>>;
};
}
}

0 comments on commit 0968aaa

Please sign in to comment.