mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Remove '�' character (#29420)
This commit is contained in:
parent
aa6fe26cea
commit
6c955dccce
@ -123,7 +123,7 @@ const aceSelectionTests = {
|
||||
},
|
||||
|
||||
"test: moveCursor word left with umlauts": function () {
|
||||
var session = new AceAjax.EditSession(" Fu<EFBFBD> F<><46>e");
|
||||
var session = new AceAjax.EditSession(" Fu¢ F¢¢e");
|
||||
|
||||
var selection = session.getSelection();
|
||||
selection.moveCursorTo(0, 9)
|
||||
|
||||
2
types/adone/glosses/utils.d.ts
vendored
2
types/adone/glosses/utils.d.ts
vendored
@ -451,7 +451,7 @@ declare namespace adone {
|
||||
| encoding.Multibyte;
|
||||
}
|
||||
|
||||
const defaultCharUnicode: "<22>";
|
||||
const defaultCharUnicode: string;
|
||||
|
||||
const defaultCharSingleByte: "?";
|
||||
|
||||
|
||||
28
types/azure/index.d.ts
vendored
28
types/azure/index.d.ts
vendored
@ -159,13 +159,13 @@ export declare class BlobService extends StorageServiceClient {
|
||||
//#region Service Methods
|
||||
|
||||
/**
|
||||
* Gets the properties of a storage account<EFBFBD>s Blob service, including Azure Storage Analytics.
|
||||
* Gets the properties of a storage account's Blob service, including Azure Storage Analytics.
|
||||
*/
|
||||
getServiceProperties(callback: StorageServicePropertiesCallback): void;
|
||||
getServiceProperties(options: TimeoutIntervalOptions, callback: StorageServicePropertiesCallback): void;
|
||||
|
||||
/**
|
||||
* Sets the properties of a storage account<EFBFBD>s Blob service, including Azure Storage Analytics.
|
||||
* Sets the properties of a storage account's Blob service, including Azure Storage Analytics.
|
||||
* You can also use this operation to set the default request version for all incoming requests that do not have a version specified.
|
||||
*/
|
||||
setServiceProperties(serviceProperties: StorageServiceProperties, callback: StorageCallbackVoid): void;
|
||||
@ -256,7 +256,7 @@ export declare class BlobService extends StorageServiceClient {
|
||||
setBlobProperties(container: string, blob: string, options: SetBlobPropertiesOptions, callback: StorageCallback<BlobResult>): void;
|
||||
|
||||
/**
|
||||
* Sets user-defined metadata for the specified blob or snapshot as one or more name-value pairs
|
||||
* Sets user-defined metadata for the specified blob or snapshot as one or more name-value pairs
|
||||
* It does not return or modify the content of the blob.
|
||||
*/
|
||||
setBlobMetadata(container: string, blob: string, metadata: StorageMetadata, callback: StorageCallback<BlobResult>): void;
|
||||
@ -288,9 +288,9 @@ export declare class BlobService extends StorageServiceClient {
|
||||
|
||||
/**
|
||||
* Marks the specified blob or snapshot for deletion. The blob is later deleted during garbage collection.
|
||||
* If a blob has snapshots, you must delete them when deleting the blob. Using the deleteSnapshots option, you can choose either to delete both the blob and its snapshots,
|
||||
* If a blob has snapshots, you must delete them when deleting the blob. Using the deleteSnapshots option, you can choose either to delete both the blob and its snapshots,
|
||||
* or to delete only the snapshots but not the blob itself. If the blob has snapshots, you must include the deleteSnapshots option or the blob service will return an error
|
||||
* and nothing will be deleted.
|
||||
* and nothing will be deleted.
|
||||
* If you are deleting a specific snapshot using the snapshotId option, the deleteSnapshots option must NOT be included.
|
||||
*/
|
||||
deleteBlob(container: string, blob: string, callback: StorageCallback<boolean>): void;
|
||||
@ -445,8 +445,8 @@ export declare class BlobService extends StorageServiceClient {
|
||||
//#region Lease Methods
|
||||
|
||||
/**
|
||||
* Acquires a new lease.
|
||||
* If container and blob are specified, acquires a blob lease.
|
||||
* Acquires a new lease.
|
||||
* If container and blob are specified, acquires a blob lease.
|
||||
* Otherwise, if only container is specified and blob is null, acquires a container lease.
|
||||
*/
|
||||
acquireLease(container: string, blob: string, callback: StorageCallback<LeaseResult>): void;
|
||||
@ -521,13 +521,13 @@ export declare class QueueService extends StorageServiceClient {
|
||||
//#region Service Methods
|
||||
|
||||
/**
|
||||
* Gets the properties of a storage account<EFBFBD>s Blob service, including Azure Storage Analytics.
|
||||
* Gets the properties of a storage account's Blob service, including Azure Storage Analytics.
|
||||
*/
|
||||
getServiceProperties(callback: StorageServicePropertiesCallback): void;
|
||||
getServiceProperties(options: TimeoutIntervalOptions, callback: StorageServicePropertiesCallback): void;
|
||||
|
||||
/**
|
||||
* Sets the properties of a storage account<EFBFBD>s Blob service, including Azure Storage Analytics.
|
||||
* Sets the properties of a storage account's Blob service, including Azure Storage Analytics.
|
||||
* You can also use this operation to set the default request version for all incoming requests that do not have a version specified.
|
||||
*/
|
||||
setServiceProperties(serviceProperties: StorageServiceProperties, callback: StorageCallbackVoid): void;
|
||||
@ -684,7 +684,7 @@ interface RoleEnvironmentInterface extends events.EventEmitter {
|
||||
|
||||
/**
|
||||
* Indicates whether the role instance is running in the Microsoft Azure
|
||||
* environment. It is good practice to enclose any code that uses
|
||||
* environment. It is good practice to enclose any code that uses
|
||||
* service runtime in the isAvailable callback.
|
||||
*/
|
||||
isAvailable(callback: SimpleCallback<boolean>): void;
|
||||
@ -702,7 +702,7 @@ interface RoleEnvironmentInterface extends events.EventEmitter {
|
||||
|
||||
/**
|
||||
* Retrieves the settings in the service configuration file.
|
||||
*
|
||||
*
|
||||
* A role's configuration settings are defined in the service definition file.
|
||||
* Values for configuration settings are set in the service configuration file.
|
||||
* For more information on configuration settings, see the [Service Definition Schema](http://msdn.microsoft.com/en-us/library/windowsazure/ee758711.aspx)
|
||||
@ -719,10 +719,10 @@ interface RoleEnvironmentInterface extends events.EventEmitter {
|
||||
|
||||
/**
|
||||
* Requests that the current role instance be stopped and restarted.
|
||||
*
|
||||
*
|
||||
* Before the role instance is recycled, the Microsoft Azure load balancer takes the role instance out of rotation.
|
||||
* This ensures that no new requests are routed to the instance while it is restarting.
|
||||
*
|
||||
*
|
||||
* A call to `RequestRecycle` initiates the normal shutdown cycle. Microsoft Azure raises the
|
||||
* `Stopping` event and calls the `OnStop` method so that you can run the necessary code to
|
||||
* prepare the instance to be recycled.
|
||||
@ -731,7 +731,7 @@ interface RoleEnvironmentInterface extends events.EventEmitter {
|
||||
|
||||
/**
|
||||
* Sets the status of the role instance.
|
||||
*
|
||||
*
|
||||
* An instance may indicate that it is in one of two states: Ready or Busy. If an instance's state is Ready, it is
|
||||
* prepared to receive requests from the load balancer. If the instance's state is Busy, it will not receive
|
||||
* requests from the load balancer.
|
||||
|
||||
4
types/bootpag/index.d.ts
vendored
4
types/bootpag/index.d.ts
vendored
@ -32,12 +32,12 @@ declare namespace JqueryBootpag {
|
||||
leaps?: boolean;
|
||||
|
||||
/**
|
||||
* next button text (default "<22>")
|
||||
* next button text (default ???)
|
||||
*/
|
||||
next?: string;
|
||||
|
||||
/**
|
||||
* prev button text (default "<22>")
|
||||
* prev button text (default ???)
|
||||
*/
|
||||
prev?: string;
|
||||
|
||||
|
||||
2
types/bootstrap-maxlength/index.d.ts
vendored
2
types/bootstrap-maxlength/index.d.ts
vendored
@ -113,7 +113,7 @@ declare namespace BootstrapMaxlength {
|
||||
*/
|
||||
message?: string | ((currentText : string, maxLength: Number) => string),
|
||||
/**
|
||||
* If true the input will count using utf8 bytesize/encoding. For example: the '<EFBFBD>' character is counted as two characters.
|
||||
* If true the input will count using utf8 bytesize/encoding. For example: the '¢' character is counted as two characters.
|
||||
* @default false
|
||||
*/
|
||||
utf8?: boolean,
|
||||
|
||||
26
types/codemirror/index.d.ts
vendored
26
types/codemirror/index.d.ts
vendored
@ -28,11 +28,11 @@ declare namespace CodeMirror {
|
||||
The returned position will be the end of the changed range, after the change is applied. */
|
||||
function changeEnd(change: EditorChange): Position;
|
||||
|
||||
/** It contains a string that indicates the version of the library. This is a triple of integers "major.minor.patch",
|
||||
/** It contains a string that indicates the version of the library. This is a triple of integers "major.minor.patch",
|
||||
where patch is zero for releases, and something else (usually one) for dev snapshots. */
|
||||
var version: string;
|
||||
|
||||
/** An object containing default values for all options.
|
||||
/** An object containing default values for all options.
|
||||
You can assign to its properties to modify defaults (though this won't affect editors that have already been created). */
|
||||
var defaults: any;
|
||||
|
||||
@ -346,8 +346,8 @@ declare namespace CodeMirror {
|
||||
/** Retrieves information about the token the current mode found before the given position (a {line, ch} object). */
|
||||
getTokenAt(pos: CodeMirror.Position, precise?: boolean): Token;
|
||||
|
||||
/** This is a (much) cheaper version of getTokenAt useful for when you just need the type of the token at a given position,
|
||||
and no other information. Will return null for unstyled tokens, and a string, potentially containing multiple
|
||||
/** This is a (much) cheaper version of getTokenAt useful for when you just need the type of the token at a given position,
|
||||
and no other information. Will return null for unstyled tokens, and a string, potentially containing multiple
|
||||
space-separated style names, otherwise. */
|
||||
getTokenTypeAt(pos: CodeMirror.Position): string;
|
||||
|
||||
@ -426,7 +426,7 @@ declare namespace CodeMirror {
|
||||
off(eventName: 'cursorActivity', handler: (instance: CodeMirror.Editor) => void ): void;
|
||||
|
||||
/** This event is fired before the selection is moved. Its handler may modify the resulting selection head and anchor.
|
||||
Handlers for this event have the same restriction as "beforeChange" handlers <EFBFBD> they should not do anything to directly update the state of the editor. */
|
||||
Handlers for this event have the same restriction as "beforeChange" handlers they should not do anything to directly update the state of the editor. */
|
||||
on(eventName: 'beforeSelectionChange', handler: (instance: CodeMirror.Editor, selection: { head: CodeMirror.Position; anchor: CodeMirror.Position; }) => void ): void;
|
||||
off(eventName: 'beforeSelectionChange', handler: (instance: CodeMirror.Editor, selection: { head: CodeMirror.Position; anchor: CodeMirror.Position; }) => void ): void;
|
||||
|
||||
@ -537,20 +537,20 @@ declare namespace CodeMirror {
|
||||
Note that line handles have a text property containing the line's content (as a string). */
|
||||
eachLine(start: number, end: number, f: (line: CodeMirror.LineHandle) => void ): void;
|
||||
|
||||
/** Set the editor content as 'clean', a flag that it will retain until it is edited, and which will be set again
|
||||
when such an edit is undone again. Useful to track whether the content needs to be saved. This function is deprecated
|
||||
/** Set the editor content as 'clean', a flag that it will retain until it is edited, and which will be set again
|
||||
when such an edit is undone again. Useful to track whether the content needs to be saved. This function is deprecated
|
||||
in favor of changeGeneration, which allows multiple subsystems to track different notions of cleanness without interfering.*/
|
||||
markClean(): void;
|
||||
|
||||
/** Returns a number that can later be passed to isClean to test whether any edits were made (and not undone) in the
|
||||
meantime. If closeEvent is true, the current history event will be ‘closed’, meaning it can't be combined with further
|
||||
|
||||
/** Returns a number that can later be passed to isClean to test whether any edits were made (and not undone) in the
|
||||
meantime. If closeEvent is true, the current history event will be ‘closed’, meaning it can't be combined with further
|
||||
changes (rapid typing or deleting events are typically combined).*/
|
||||
changeGeneration(closeEvent?: boolean): number;
|
||||
|
||||
/** Returns whether the document is currently clean — not modified since initialization or the last call to markClean if
|
||||
/** Returns whether the document is currently clean — not modified since initialization or the last call to markClean if
|
||||
no argument is passed, or since the matching call to changeGeneration if a generation value is given. */
|
||||
isClean(generation?: number): boolean;
|
||||
|
||||
|
||||
|
||||
/** Get the currently selected code. */
|
||||
getSelection(): string;
|
||||
@ -559,7 +559,7 @@ declare namespace CodeMirror {
|
||||
getSelections(lineSep?: string): Array<string>;
|
||||
|
||||
/** Replace the selection with the given string. By default, the new selection will span the inserted text.
|
||||
The optional collapse argument can be used to change this <EFBFBD> passing "start" or "end" will collapse the selection to the start or end of the inserted text. */
|
||||
The optional collapse argument can be used to change this -- passing "start" or "end" will collapse the selection to the start or end of the inserted text. */
|
||||
replaceSelection(replacement: string, collapse?: string): void;
|
||||
|
||||
/** start is a an optional string indicating which end of the selection to return.
|
||||
|
||||
4
types/fast-stats/index.d.ts
vendored
4
types/fast-stats/index.d.ts
vendored
@ -65,7 +65,7 @@ export interface Bucket {
|
||||
* A NodeJS library to do statistical analysis of numeric datasets.
|
||||
* When doing statistical analysis of data, the most common usage pattern is to run multiple statistical methods on the same set of data. Some of these methods use others. For example, to calculate the standard deviation of a dataset, we first need the mean.
|
||||
* Additionally, some methods can be calculated quickly as data is inserted, thereby reducing the number of loops required to run through the data during processing.
|
||||
* Fast stats maintains a running cache of several summary values as data is inserted making final calculation very fast. It trades off a small amount of additional memory usage for a large reduction in execution time.
|
||||
* Fast stats maintains a running cache of several summary values as data is inserted making final calculation very fast. It trades off a small amount of additional memory usage for a large reduction in execution time.
|
||||
*/
|
||||
export declare class Stats {
|
||||
constructor(opts?: StatsOpts);
|
||||
@ -109,7 +109,7 @@ export declare class Stats {
|
||||
|
||||
/**
|
||||
* Arithmetic Mean
|
||||
* The arithmetic mean is calculated as the sum of all data points divided by the number of data points. This is useful for data sets that are fairly uniform, following a linear or binomial distribution. Use the amean() method or the `<EFBFBD>()? method to get at it:
|
||||
* The arithmetic mean is calculated as the sum of all data points divided by the number of data points. This is useful for data sets that are fairly uniform, following a linear or binomial distribution. Use the amean() method or the ???()? method to get at it:
|
||||
*/
|
||||
amean(): number;
|
||||
|
||||
|
||||
2
types/leaflet/v0/index.d.ts
vendored
2
types/leaflet/v0/index.d.ts
vendored
@ -1020,7 +1020,7 @@ declare namespace L {
|
||||
|
||||
/**
|
||||
* Function that will be used for converting GeoJSON coordinates to LatLng points
|
||||
* (if not specified, coords will be assumed to be WGS84 <EFBFBD> standard[longitude, latitude]
|
||||
* (if not specified, coords will be assumed to be WGS84 standard[longitude, latitude]
|
||||
* values in degrees).
|
||||
*/
|
||||
coordsToLatLng?: (coords: any[]) => LatLng[];
|
||||
|
||||
20
types/microsoft-live-connect/index.d.ts
vendored
20
types/microsoft-live-connect/index.d.ts
vendored
@ -634,8 +634,8 @@ declare namespace Microsoft.Live {
|
||||
/**
|
||||
* A value that specifies whether the event is publicly visible. Valid
|
||||
* values are:
|
||||
* - public<EFBFBD>the event is visible to anyone who can view the calendar.
|
||||
* - private"<EFBFBD>the event is visible only to the event owner.
|
||||
* - public the event is visible to anyone who can view the calendar.
|
||||
* - private the event is visible only to the event owner.
|
||||
* @default "public"
|
||||
*/
|
||||
visibility: string;
|
||||
@ -696,8 +696,8 @@ declare namespace Microsoft.Live {
|
||||
/**
|
||||
* A value that specifies whether the event is publicly visible. Valid
|
||||
* values are:
|
||||
* - public<EFBFBD>the event is visible to anyone who can view the calendar.
|
||||
* - private"<EFBFBD>the event is visible only to the event owner.
|
||||
* - public the event is visible to anyone who can view the calendar.
|
||||
* - private the event is visible only to the event owner.
|
||||
* @default "public"
|
||||
*/
|
||||
visibility?: string;
|
||||
@ -768,8 +768,8 @@ declare namespace Microsoft.Live {
|
||||
/**
|
||||
* A value that specifies whether the event is publicly visible. Valid
|
||||
* values are:
|
||||
* - public<EFBFBD>the event is visible to anyone who can view the calendar.
|
||||
* - private"<EFBFBD>the event is visible only to the event owner.
|
||||
* - public the event is visible to anyone who can view the calendar.
|
||||
* - private the event is visible only to the event owner.
|
||||
* @default "public"
|
||||
*/
|
||||
visibility: string;
|
||||
@ -1042,10 +1042,10 @@ declare namespace Microsoft.Live {
|
||||
source: string;
|
||||
/**
|
||||
* The type of this image of this particular size. Valid values are:
|
||||
* full (maximum size: 2048 <EFBFBD> 2048 pixels)
|
||||
* - normal (maximum size 800 <EFBFBD> 800 pixels)
|
||||
* - album (maximum size 176 <EFBFBD> 176 pixels)
|
||||
* - small (maximum size 96 <EFBFBD> 96 pixels)
|
||||
* full (maximum size: 2048 x 2048 pixels)
|
||||
* - normal (maximum size 800 x 800 pixels)
|
||||
* - album (maximum size 176 x 176 pixels)
|
||||
* - small (maximum size 96 x 96 pixels)
|
||||
*/
|
||||
type: string;
|
||||
}
|
||||
|
||||
14
types/sharepoint/index.d.ts
vendored
14
types/sharepoint/index.d.ts
vendored
@ -1396,10 +1396,10 @@ declare namespace SPClientTemplates {
|
||||
/** Template overrides */
|
||||
Templates?: TemplateOverrides;
|
||||
|
||||
/** <EFBFBD>allbacks called before rendering starts. Can be function (ctx: RenderContext) => void or array of functions.*/
|
||||
/** Callbacks called before rendering starts. Can be function (ctx: RenderContext) => void or array of functions.*/
|
||||
OnPreRender?: RenderCallback | RenderCallback[];
|
||||
|
||||
/** <EFBFBD>allbacks called after rendered html inserted into DOM. Can be function (ctx: RenderContext) => void or array of functions.*/
|
||||
/** Callbacks called after rendered html inserted into DOM. Can be function (ctx: RenderContext) => void or array of functions.*/
|
||||
OnPostRender?: RenderCallback | RenderCallback[];
|
||||
|
||||
/** View style (SPView.StyleID) for which the templates should be applied.
|
||||
@ -3639,7 +3639,7 @@ declare namespace SP {
|
||||
get_baseTemplate(): number;
|
||||
/** Gets base type for the list. */
|
||||
get_baseType(): SP.BaseType;
|
||||
/** Gets a value that specifies the override of the web application<EFBFBD>s BrowserFileHandling property at the list level. */
|
||||
/** Gets a value that specifies the override of the web application's BrowserFileHandling property at the list level. */
|
||||
get_browserFileHandling(): SP.BrowserFileHandling;
|
||||
/** Gets the content types that are associated with the list. */
|
||||
get_contentTypes(): SP.ContentTypeCollection;
|
||||
@ -6145,10 +6145,10 @@ declare namespace SP {
|
||||
get_name(): string;
|
||||
/** Provides the attachment name. */
|
||||
set_name(value: string): string;
|
||||
/** Specifies the URI of the attachment<EFBFBD>s preview thumbnail.
|
||||
/** Specifies the URI of the attachment's preview thumbnail.
|
||||
This property is only present if the AttachmentKind is Document or Video. */
|
||||
get_previewUri(): string;
|
||||
/** Specifies the URI of the attachment<EFBFBD>s preview thumbnail.
|
||||
/** Specifies the URI of the attachment's preview thumbnail.
|
||||
This property is only present if the AttachmentKind is Document or Video. */
|
||||
set_previewUri(value: string): string;
|
||||
/** Provides the attachment URI. */
|
||||
@ -7556,7 +7556,7 @@ declare namespace SP {
|
||||
|
||||
/** Provides methods for operations related to people.
|
||||
Note: The SocialFollowingManager object is the recommended object for performing Following People and Following Content tasks.
|
||||
However, PeopleManager provides some methods that SocialFollowingManager doesn<EFBFBD>t. */
|
||||
However, PeopleManager provides some methods that SocialFollowingManager doesn't. */
|
||||
class PeopleManager extends SP.ClientObject {
|
||||
constructor(context: SP.ClientRuntimeContext);
|
||||
static getTrendingTags(context: SP.ClientRuntimeContext): HashTagCollection;
|
||||
@ -8328,7 +8328,7 @@ declare namespace SP.WorkflowServices {
|
||||
get_xaml(): string;
|
||||
/** XAML definition of the workflow */
|
||||
set_xaml(value: string): string;
|
||||
/** This method adds a key-value pair (propertyName, value) to the workflow definition object<EFBFBD>s property bag. */
|
||||
/** This method adds a key-value pair (propertyName, value) to the workflow definition object's property bag. */
|
||||
setProperty(propertyName: string, value: string): void;
|
||||
/** This method is internal and is not intended to be used in your code. */
|
||||
initPropertiesFromJson(parentNode: any): void;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user