mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 00:23:03 +00:00
refactor: update openstapps packages
This commit is contained in:
@@ -50,9 +50,9 @@ export class DataDetailComponent implements OnInit {
|
||||
* Type guard for SCSavableThing
|
||||
*/
|
||||
static isSCSavableThing(
|
||||
thing: SCThings | SCSaveableThing<SCThings>,
|
||||
): thing is SCSaveableThing<SCThings> {
|
||||
return typeof (thing as SCSaveableThing<SCThings>).data !== 'undefined';
|
||||
thing: SCThings | SCSaveableThing,
|
||||
): thing is SCSaveableThing {
|
||||
return typeof (thing as SCSaveableThing).data !== 'undefined';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user