mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-05-08 17:33:29 +01:00
debug
This commit is contained in:
parent
6032b39058
commit
c38e42e44b
@ -2,7 +2,6 @@
|
||||
* @module SelfServe/Decorators
|
||||
*/
|
||||
|
||||
import MaterializedViewsBuilder from "SelfServe/MaterializedViewsBuilder/MaterializedViewsBuilder";
|
||||
import {
|
||||
ChoiceItem,
|
||||
Description,
|
||||
@ -137,14 +136,17 @@ const isDescriptionDisplayOptions = (inputOptions: InputOptions): inputOptions i
|
||||
};
|
||||
|
||||
const addToMap = (...decorators: Decorator[]): PropertyDecorator => {
|
||||
return (target, property) => {
|
||||
return async (target, property) => {
|
||||
console.log("--------------------------------------")
|
||||
console.log(target);
|
||||
console.log(target instanceof SelfServeBaseClass)
|
||||
console.log(target.constructor.name)
|
||||
console.log((target as SelfServeBaseClass))
|
||||
console.log((target as SelfServeBaseClass).test)
|
||||
console.log((target as MaterializedViewsBuilder))
|
||||
console.log((target as MaterializedViewsBuilder).test)
|
||||
console.log(target.constructor.toString())
|
||||
console.log(target.constructor.prototype)
|
||||
// console.log((target as SelfServeBaseClass))
|
||||
// console.log((target as SelfServeBaseClass).test)
|
||||
// console.log((target as MaterializedViewsBuilder))
|
||||
// console.log((target as MaterializedViewsBuilder).test)
|
||||
let className = target.constructor.name;
|
||||
const propertyName = property.toString();
|
||||
if (className === "Function") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user