Skip to content
Snippets Groups Projects
Commit 83ebaf26 authored by Xiao Gui's avatar Xiao Gui
Browse files

chore: fix lint

parent 21477de5
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ export function switchMapWaitFor(opts: ISwitchMapWaitFor){
export const CachedFunction = () => {
const cache = {}
const cachedValKeySym = Symbol('cachedValKeySym')
return (_target: Object, _propertyKey: string, descriptor: PropertyDescriptor) => {
return (_target: Record<string, any>, _propertyKey: string, descriptor: PropertyDescriptor) => {
const originalMethod = descriptor.value
descriptor.value = function(...args: any[]) {
let found = cache
......
......@@ -150,7 +150,7 @@ export class PureContantService implements OnDestroy{
`${this.bsEndpoint}/atlases/${encodeURIComponent(atlasId)}/parcellations/${encodeURIComponent(parcId)}/regions`,
{
params: {
space_id: spaceId
'space_id': spaceId
},
responseType: 'json'
}
......@@ -207,10 +207,6 @@ export class PureContantService implements OnDestroy{
)
}
private getFullRegions(atlasId: string, parcId: string, spaceId: string) {
}
constructor(
private store: Store<any>,
private http: HttpClient,
......
......@@ -64,7 +64,7 @@ export type TAtlas = {
export type TSpaceSummary = {
id: {
kg: TKgIdentifier
},
}
name: string
links: {
self: THref
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment