DetachHead

Results 673 issues of DetachHead

```ts declare module "sap/ui/test/opaQunit" { export default function opaQunit( /** * name of the QUnit test. */ testName: string, /** * integer value only supported in QUnit v1.x: denotes how...

types

```ts /** * @deprecated (since 1.85) - use {@link module:sap/base/security/URLListValidator.Entry} instead. * * Entry object of the URLWhitelist. */ ``` **webstorm:** ![image](https://user-images.githubusercontent.com/57028336/143189908-3080f024-f0fc-4ab7-895d-85de960eb014.png) **vscode:** ![image](https://user-images.githubusercontent.com/57028336/143190465-9773f59a-598c-4f3d-a3dd-2c24640f0c4a.png) clicking it takes you here: ![image](https://user-images.githubusercontent.com/57028336/143190529-b4793442-6a91-4ceb-bf0b-d262037fc546.png)

types

currently, `sap.ui.core.d.ts` is almost 70,000 lines long. this causes my PC to regularly slow down and my IDE often freezes when navigating to / searching for types defined in this...

enhancement
types

i'm not sure if this is something that can be fixed in the docs at https://github.com/SAP/openui5, but according to [the docs](https://sapui5.hana.ondemand.com/#/api/sap.ushell.services.CrossApplicationNavigation%23methods/hrefForExternal) regarding the `bAsync` parameter: > if set to `true`,...

wontfix
types

but its return type is `object` ```ts /** * returns the internally used table object */ getTable(): object; ``` (i couldn't find where `SmartTable` was defined in https://github.com/SAP/openui5)

types

ie. how would i convert [this](https://github.com/SAP/openui5/blob/2bba4ea6a49332575a87de443efdc6893d66b153/src/sap.m/test/sap/m/demokit/tutorial/worklist/06/webapp/test/testsuite.qunit.js) to typescript? ```js window.suite = function() { "use strict"; var oSuite = new parent.jsUnitTestSuite(), sContextPath = location.pathname.substring(0, location.pathname.lastIndexOf("/") + 1); oSuite.addTestPage(sContextPath + "unit/unitTests.qunit.html"); oSuite.addTestPage(sContextPath...

types

```ts export type PageObjectDefinition = { //... actions?: Record void>; assertions?: Record void>; } ``` otherwise [this example](https://github.com/SAP/openui5/blob/master/src/sap.ui.core/src/sap/ui/test/Opa5.js#L614-L632) won't compile bcause the `this` type is not defined: ```ts Opa5.createPageObjects({ onTheAppPage:...

types

```ts export default class Router extends EventProvider { navTo( sName: string, oParameters?: object, oComponentTargetInfo?: { anyName?: { route?: string; parameters?: object; componentTargetInfo?: object; }; }, bReplace?: boolean ): this; }...

types

**Describe the issue** when instanciating a class with a `const` constructor, the `prefer_const_constructors` warning incorrectly occurs even when the instance is being mutated. **To Reproduce** ```dart class Foo { const...

type-bug
P3
false positive
set-flutter

it's annoying to have to manually create a gist just to be able to share a dart pad link. it would be cool if you could just click a "share"...