forked from sombochea/verdaccio-ui
fix: remove any types and added additional component state interfaces
This commit is contained in:
@@ -2,8 +2,8 @@ import API from './api';
|
||||
import { PackageMetaInterface } from 'types/packageMeta';
|
||||
|
||||
export interface DetailPage {
|
||||
readMe: string;
|
||||
packageMeta: PackageMetaInterface;
|
||||
readMe: string | {};
|
||||
packageMeta: PackageMetaInterface | {};
|
||||
}
|
||||
|
||||
export async function callDetailPage(packageName): Promise<DetailPage> {
|
||||
|
||||
Reference in New Issue
Block a user