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